]> git.sur5r.net Git - u-boot/blobdiff - board/atmel/sama5d3_xplained/sama5d3_xplained.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / board / atmel / sama5d3_xplained / sama5d3_xplained.c
index ba7f9f244342dd9779e2973bd4892005a97b5fef..c47f63864b4c5cfa17e2542329745812ec03a2d4 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2014 Atmel Corporation
  *                   Bo Shen <voice.shen@atmel.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -112,11 +111,11 @@ int dram_init(void)
 #ifdef CONFIG_SPL_BUILD
 void spl_board_init(void)
 {
-#ifdef CONFIG_SYS_USE_MMC
+#ifdef CONFIG_SD_BOOT
 #ifdef CONFIG_GENERIC_ATMEL_MCI
        sama5d3_xplained_mci0_hw_init();
 #endif
-#elif CONFIG_SYS_USE_NANDFLASH
+#elif CONFIG_NAND_BOOT
        sama5d3_xplained_nand_hw_init();
 #endif
 }