diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-05-23 17:39:37 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-27 10:07:00 +0200 |
commit | 256bb5c178915fbadd95c6da58f838e199aa84ee (patch) | |
tree | 4e25ccf73f390c3bdd97b6046265c1000d4d5730 /arch/arm/mach-at91 | |
parent | dc5ec8845241eca769d24670bdf5025b0495e44b (diff) | |
download | barebox-256bb5c178915fbadd95c6da58f838e199aa84ee.tar.gz barebox-256bb5c178915fbadd95c6da58f838e199aa84ee.tar.xz |
ARM: at91: remove references to non-existing CONFIG_ARCH_AT91*
These symbols aren't set anywhere in barebox and in some
cases they guard non-existing headers. Remove them.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_dbgu.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/hardware.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91_dbgu.h b/arch/arm/mach-at91/include/mach/at91_dbgu.h index 3b5948566e..e33a358153 100644 --- a/arch/arm/mach-at91/include/mach/at91_dbgu.h +++ b/arch/arm/mach-at91/include/mach/at91_dbgu.h @@ -16,7 +16,6 @@ #ifndef AT91_DBGU_H #define AT91_DBGU_H -#if !defined(CONFIG_ARCH_AT91X40) #define AT91_DBGU_CR (0x00) /* Control Register */ #define AT91_DBGU_MR (0x04) /* Mode Register */ #define AT91_DBGU_IER (0x08) /* Interrupt Enable Register */ @@ -34,7 +33,6 @@ #define AT91_DBGU_FNR (0x48) /* Force NTRST Register [SAM9 only] */ #define AT91_DBGU_FNTRST (1 << 0) /* Force NTRST */ -#endif /* AT91_DBGU */ /* * Some AT91 parts that don't have full DEBUG units still support the ID diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h index e2e01343d4..58dc6edfa9 100644 --- a/arch/arm/mach-at91/include/mach/hardware.h +++ b/arch/arm/mach-at91/include/mach/hardware.h @@ -30,8 +30,6 @@ #include <mach/at91sam9261.h> #elif defined(CONFIG_ARCH_AT91SAM9263) #include <mach/at91sam9263.h> -#elif defined(CONFIG_ARCH_AT91SAM9RL) -#include <mach/at91sam9rl.h> #elif defined(CONFIG_ARCH_AT91SAM9G45) #include <mach/at91sam9g45.h> #elif defined(CONFIG_ARCH_AT91SAM9N12) @@ -42,10 +40,6 @@ #include <mach/sama5d3.h> #elif defined(CONFIG_ARCH_SAMA5D4) #include <mach/sama5d4.h> -#elif defined(CONFIG_ARCH_AT91CAP9) -#include <mach/at91cap9.h> -#elif defined(CONFIG_ARCH_AT91X40) -#include <mach/at91x40.h> #else #error "Unsupported AT91 processor" #endif |