at91: ma5d4evk: Enable SPL_DM and SPL_OF_CONTROL

Enable SPL Driver model and FDT support for AT91 ma5d4evk boards.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
Jagan Teki 2018-03-14 18:46:41 +05:30 committed by Tom Rini
parent 4dc04ebfa3
commit 5a6eab8ab0
2 changed files with 3 additions and 1 deletions

View file

@ -359,7 +359,7 @@ int board_eth_init(bd_t *bis)
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
void spl_board_init(void) void spl_board_init(void)
{ {
#ifdef CONFIG_ATMEL_SPI #ifndef CONFIG_DM_SPI
ma5d4evk_spi0_hw_init(); ma5d4evk_spi0_hw_init();
#endif #endif
#ifdef CONFIG_GENERIC_ATMEL_MCI #ifdef CONFIG_GENERIC_ATMEL_MCI

View file

@ -9,6 +9,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y
CONFIG_SPL_DM=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_ENV_VARS_UBOOT_CONFIG=y CONFIG_ENV_VARS_UBOOT_CONFIG=y
CONFIG_FIT=y CONFIG_FIT=y
CONFIG_BOOTDELAY=3 CONFIG_BOOTDELAY=3