-
- Downloads
ARM: bcm283x: don't always define CONFIG_BCM2835
Currently, CONFIG_BCM2835 is defined for all BCM283x builds and _BCM2836 is defined when building for that SoC. That means there isn't a single define that means "exactly BCM2835". This will complicate future patches where BCM2835-vs-anything-else needs to be determined simply. Modify the code to define one or the other of CONFIG_BCM2835/BCM2836 so future patches are simpler. Signed-off-by:Stephen Warren <swarren@wwwdotorg.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
Showing
- arch/arm/mach-bcm283x/include/mach/gpio.h 1 addition, 1 deletionarch/arm/mach-bcm283x/include/mach/gpio.h
- arch/arm/mach-bcm283x/include/mach/mbox.h 1 addition, 1 deletionarch/arm/mach-bcm283x/include/mach/mbox.h
- arch/arm/mach-bcm283x/include/mach/sdhci.h 1 addition, 1 deletionarch/arm/mach-bcm283x/include/mach/sdhci.h
- arch/arm/mach-bcm283x/include/mach/timer.h 1 addition, 1 deletionarch/arm/mach-bcm283x/include/mach/timer.h
- arch/arm/mach-bcm283x/include/mach/wdog.h 1 addition, 1 deletionarch/arm/mach-bcm283x/include/mach/wdog.h
- arch/arm/mach-bcm283x/phys2bus.c 1 addition, 1 deletionarch/arm/mach-bcm283x/phys2bus.c
- board/raspberrypi/rpi/rpi.c 1 addition, 1 deletionboard/raspberrypi/rpi/rpi.c
- include/configs/rpi-common.h 2 additions, 3 deletionsinclude/configs/rpi-common.h
- include/configs/rpi.h 1 addition, 0 deletionsinclude/configs/rpi.h
Loading
Please register or sign in to comment