summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-01-29 15:43:26 +0000
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-02-19 11:54:06 +0100
commit8495faf525be9a8c7c8d608200e8795c2f7b9290 (patch)
treed5cb4d6b404bd074bc05c94e6959fd27e843d288 /board
parent9f024f62e4604274a23213dcee30016092e32e7b (diff)
downloadu-boot-imx-8495faf525be9a8c7c8d608200e8795c2f7b9290.zip
u-boot-imx-8495faf525be9a8c7c8d608200e8795c2f7b9290.tar.gz
u-boot-imx-8495faf525be9a8c7c8d608200e8795c2f7b9290.tar.bz2
ARM: atmel: add at91sam9g20ek_2mmc nand boot support
Add at91sam9g20_2mmc nand boot support. on this board, there is no dataflash, so disable it change one commet for at91sam9g20ek board Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/at91sam9260ek/at91sam9260ek.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c
index 2555672..3aa394a 100644
--- a/board/atmel/at91sam9260ek/at91sam9260ek.c
+++ b/board/atmel/at91sam9260ek/at91sam9260ek.c
@@ -157,13 +157,18 @@ int board_early_init_f(void)
int board_init(void)
{
+#ifdef CONFIG_AT91SAM9G20EK_2MMC
+ /* arch number of AT91SAM9G20EK_2MMC-Board */
+ gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9G20EK_2MMC;
+#else
#ifdef CONFIG_AT91SAM9G20EK
- /* arch number of AT91SAM9260EK-Board */
+ /* arch number of AT91SAM9G20EK-Board */
gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9G20EK;
#else
/* arch number of AT91SAM9260EK-Board */
gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9260EK;
#endif
+#endif
/* adress of boot parameters */
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;