]> git.sur5r.net Git - u-boot/commitdiff
at91: ma5d4evk: Enable SPL_DM and SPL_OF_CONTROL
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 14 Mar 2018 13:16:41 +0000 (18:46 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 6 Apr 2018 20:11:09 +0000 (16:11 -0400)
Enable SPL Driver model and FDT support for AT91 ma5d4evk boards.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
board/aries/ma5d4evk/ma5d4evk.c
configs/ma5d4evk_defconfig

index 46c11d1a129fb4ce6d48611401ce80a2ebc24b4e..9f8b8dc1543fcf7a4a8617cf72dd0f9715230f7a 100644 (file)
@@ -359,7 +359,7 @@ int board_eth_init(bd_t *bis)
 #ifdef CONFIG_SPL_BUILD
 void spl_board_init(void)
 {
-#ifdef CONFIG_ATMEL_SPI
+#ifndef CONFIG_DM_SPI
        ma5d4evk_spi0_hw_init();
 #endif
 #ifdef CONFIG_GENERIC_ATMEL_MCI
index cdea7dc12391caf0b46b199eaac898ae716dd1b2..57f896d63085dd742f994fed156be79a9e65bf67 100644 (file)
@@ -9,6 +9,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
+CONFIG_SPL_DM=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_ENV_VARS_UBOOT_CONFIG=y
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=3