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>
This commit is contained in:
committed by
Andreas Bießmann
parent
9f024f62e4
commit
8495faf525
@@ -157,12 +157,17 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user