]> git.ipfire.org Git - people/ms/u-boot.git/commit
rpi: get rid of BCM2835_BOARD_REV_* macros
authorStephen Warren <swarren@wwwdotorg.org>
Sat, 5 Dec 2015 05:07:44 +0000 (22:07 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:35 +0000 (18:22 -0500)
commitdbe6f1eb93e14c611865274c53b0be1aa59e7762
tree75b30048b6b19750ff63269e023277203f32f782
parent6ae6e16005252dbca0b4a06beea1be895df48e16
rpi: get rid of BCM2835_BOARD_REV_* macros

There are two numbering schemes for the RPi revision values; old and new
scheme. The values within each scheme overlap. Hence, it doesn't make
sense to have absolute/global names for the revision IDs. Get rid of the
names and just use the raw revision/type values to set up the array of
per-revision data.

This change makes most sense when coupled with the next change. However,
it's split out so that the mechanical cut/paste is separate from the
logic changes for easier review and problem bisection.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/mach-bcm283x/include/mach/mbox.h
board/raspberrypi/rpi/rpi.c