diff options
author | Stephen Warren | 2016-03-16 21:40:56 -0600 |
---|---|---|
committer | Tom Rini | 2016-03-27 09:12:20 -0400 |
commit | ed7481c7d18fe2c632b6fbe5646b32cefd2dc791 (patch) | |
tree | b3a947abe410f39ca3746791e71b173c878170bd /arch/arm/mach-bcm283x/include/mach/timer.h | |
parent | 7ad260a999d77cec94103b97cb5f51ccc0a0abe5 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-bcm283x/include/mach/timer.h')
-rw-r--r-- | arch/arm/mach-bcm283x/include/mach/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm283x/include/mach/timer.h b/arch/arm/mach-bcm283x/include/mach/timer.h index 004c24be365..2a85f230e86 100644 --- a/arch/arm/mach-bcm283x/include/mach/timer.h +++ b/arch/arm/mach-bcm283x/include/mach/timer.h @@ -7,7 +7,7 @@ #ifndef _BCM2835_TIMER_H #define _BCM2835_TIMER_H -#ifdef CONFIG_BCM2836 +#ifndef CONFIG_BCM2835 #define BCM2835_TIMER_PHYSADDR 0x3f003000 #else #define BCM2835_TIMER_PHYSADDR 0x20003000 |