diff options
author | Hong Xu <hong.xu@atmel.com> | 2012-04-17 02:26:31 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-27 13:40:11 -0400 |
commit | 74db4fb93e4ed4d6241bf0f28e4b5d68a7a05577 (patch) | |
tree | 07c904c57e5c5110a7dfaa9e9b4081a908e28f7e /arch/arm/mach-at91/setup.c | |
parent | 02059684271079f96e2a7a4bdc7912f029997866 (diff) |
ARM: at91: Add machine files for AT91SAM9N12 SoC
Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r-- | arch/arm/mach-at91/setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 97cc04dc807..34c9c27c917 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
@@ -142,6 +142,11 @@ static void __init soc_detect(u32 dbgu_base) | |||
142 | at91_soc_initdata.type = AT91_SOC_SAM9X5; | 142 | at91_soc_initdata.type = AT91_SOC_SAM9X5; |
143 | at91_boot_soc = at91sam9x5_soc; | 143 | at91_boot_soc = at91sam9x5_soc; |
144 | break; | 144 | break; |
145 | |||
146 | case ARCH_ID_AT91SAM9N12: | ||
147 | at91_soc_initdata.type = AT91_SOC_SAM9N12; | ||
148 | at91_boot_soc = at91sam9n12_soc; | ||
149 | break; | ||
145 | } | 150 | } |
146 | 151 | ||
147 | /* at91sam9g10 */ | 152 | /* at91sam9g10 */ |
@@ -209,6 +214,7 @@ static const char *soc_name[] = { | |||
209 | [AT91_SOC_SAM9G45] = "at91sam9g45", | 214 | [AT91_SOC_SAM9G45] = "at91sam9g45", |
210 | [AT91_SOC_SAM9RL] = "at91sam9rl", | 215 | [AT91_SOC_SAM9RL] = "at91sam9rl", |
211 | [AT91_SOC_SAM9X5] = "at91sam9x5", | 216 | [AT91_SOC_SAM9X5] = "at91sam9x5", |
217 | [AT91_SOC_SAM9N12] = "at91sam9n12", | ||
212 | [AT91_SOC_NONE] = "Unknown" | 218 | [AT91_SOC_NONE] = "Unknown" |
213 | }; | 219 | }; |
214 | 220 | ||