diff options
Diffstat (limited to 'board/atmel/sama5d2_ptc/sama5d2_ptc.c')
-rw-r--r-- | board/atmel/sama5d2_ptc/sama5d2_ptc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/sama5d2_ptc/sama5d2_ptc.c b/board/atmel/sama5d2_ptc/sama5d2_ptc.c index 9e6544b..c441e69 100644 --- a/board/atmel/sama5d2_ptc/sama5d2_ptc.c +++ b/board/atmel/sama5d2_ptc/sama5d2_ptc.c @@ -196,11 +196,11 @@ int board_eth_init(bd_t *bis) #ifdef CONFIG_SPL_BUILD void spl_board_init(void) { -#ifdef CONFIG_SYS_USE_SERIALFLASH +#ifdef CONFIG_SPI_BOOT board_spi0_hw_init(); #endif -#ifdef CONFIG_SYS_USE_NANDFLASH +#ifdef CONFIG_NAND_BOOT board_nand_hw_init(); #endif } |