summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9m10g45ek
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@microchip.com>2017-09-14 03:07:44 (GMT)
committerTom Rini <trini@konsulko.com>2017-09-14 20:02:48 (GMT)
commit5541543f686b43210fb92181003ff7175d4ab036 (patch)
treea9e5f81fe6a382c1caae6eacb4114232c8a8eed6 /board/atmel/at91sam9m10g45ek
parenta35c34025e4ae08441f2e26ddcac86aec63c33af (diff)
downloadu-boot-5541543f686b43210fb92181003ff7175d4ab036.tar.xz
configs: at91: Remove CONFIG_SYS_EXTRA_OPTIONS assignment
To remove the assignment of CONFIG_SYS_EXTRA_OPTIONS option, which is deprecated, use the CONFIG_XXXX_BOOT options to indicate the boot media, and the SoC is selected by the board. Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Diffstat (limited to 'board/atmel/at91sam9m10g45ek')
-rw-r--r--board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
index 903732b..98430c4 100644
--- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
+++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
@@ -84,9 +84,9 @@ void at91_spl_board_init(void)
at91_set_pio_pullup(AT91_PIO_PORTD, 7, 1);
at91_set_pio_pullup(AT91_PIO_PORTD, 8, 1);
-#ifdef CONFIG_SYS_USE_MMC
+#ifdef CONFIG_SD_BOOT
at91_mci_hw_init();
-#elif CONFIG_SYS_USE_NANDFLASH
+#elif CONFIG_NAND_BOOT
at91sam9m10g45ek_nand_hw_init();
#endif
}