diff options
author | Justin Waters <justin.waters@timesys.com> | 2008-04-30 16:40:21 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2008-04-30 16:40:21 -0400 |
commit | fc0717dc30824a3e0b9115c44787af7483e5aaa7 (patch) | |
tree | 13e5998024e9b57234273241d0140ce9aa9b01b8 /include/asm-arm | |
parent | 6a1a115c56a1783a5dad9a5201a438b169d272fc (diff) |
Add support for AT91SAM9G20-EK1.1.5-at91-200804302040
This patch adds support for the AT91SAM9G20-EK board. It comes from the patch
u-boot-1.1.5_atmel_1.6.diff, courtesy of linux4sam.org.
Signed-off-by: Justin Waters <justin.waters@timesys.com>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-at91sam926x/hardware.h | 2 | ||||
-rw-r--r-- | include/asm-arm/mach-types.h | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/include/asm-arm/arch-at91sam926x/hardware.h b/include/asm-arm/arch-at91sam926x/hardware.h index ff5b3246f23..044acd26fea 100644 --- a/include/asm-arm/arch-at91sam926x/hardware.h +++ b/include/asm-arm/arch-at91sam926x/hardware.h @@ -23,7 +23,7 @@ #include <asm/sizes.h> -#ifdef CONFIG_AT91SAM9260EK +#if defined(CONFIG_AT91SAM9260EK) || defined(CONFIG_AT91SAM9G20EK) #ifndef __ASSEMBLY__ #include <asm/arch/at91sam9260.h> #else diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h index 5fd67438b41..c32923200e0 100644 --- a/include/asm-arm/mach-types.h +++ b/include/asm-arm/mach-types.h @@ -741,6 +741,7 @@ extern unsigned int __machine_arch_type; #define MACH_TYPE_AT91SAM9260EK 1099 #define MACH_TYPE_AT91SAM9263EK 1202 #define MACH_TYPE_AT91SAM9RLEK 1326 +#define MACH_TYPE_AT91SAM9G20EK 1624 #ifdef CONFIG_ARCH_EBSA110 # ifdef machine_arch_type @@ -9454,6 +9455,18 @@ extern unsigned int __machine_arch_type; # define machine_is_at91sam9rlek() (0) #endif +#ifdef CONFIG_MACH_AT91SAM9G20EK +# ifdef machine_arch_type +# undef machine_arch_type +# define machine_arch_type __machine_arch_type +# else +# define machine_arch_type MACH_TYPE_AT91SAM9G20EK +# endif +# define machine_is_at91sam9g20ek() (machine_arch_type == MACH_TYPE_AT91SAM9G20EK) +#else +# define machine_is_at91sam9g20ek() (0) +#endif + /* * These have not yet been registered */ |