[PATCH] include/configs: ls1012afrwy: delete duplicate environment variable BOOT_TARGET_DEVICES

Biwen Li biwen.li at nxp.com
Wed Mar 18 04:41:59 CET 2020


The BOOT_TARGET_DEVICES has defined in include/configs/ls1012a_common.h,
so delete duplicate environment variable for ls1012afrwy

Signed-off-by: Biwen Li <biwen.li at nxp.com>
---
 include/configs/ls1012afrwy.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h
index dde4369c97..fc68fb196c 100644
--- a/include/configs/ls1012afrwy.h
+++ b/include/configs/ls1012afrwy.h
@@ -26,13 +26,6 @@
 /* ENV */
 #define CONFIG_SYS_FSL_QSPI_BASE	0x40000000
 
-#ifndef CONFIG_SPL_BUILD
-#undef BOOT_TARGET_DEVICES
-#define BOOT_TARGET_DEVICES(func) \
-	func(MMC, mmc, 0) \
-	func(USB, usb, 0)
-#endif
-
 #undef FSL_QSPI_FLASH_SIZE
 #define FSL_QSPI_FLASH_SIZE            SZ_16M
 
-- 
2.17.1



More information about the U-Boot mailing list