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

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@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

-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Biwen Li Sent: Wednesday, March 18, 2020 9:12 AM To: Jagdish Gediya jagdish.gediya@nxp.com; Priyanka Jain priyanka.jain@nxp.com; Pramod Kumar pramod.kumar_1@nxp.com Cc: Alison Wang alison.wang@nxp.com; u-boot@lists.denx.de; Jiafei Pan jiafei.pan@nxp.com; Biwen Li biwen.li@nxp.com Subject: [PATCH] include/configs: ls1012afrwy: delete duplicate environment variable BOOT_TARGET_DEVICES
Please trim subject to <= 70char
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@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
Priyanka
participants (2)
-
Biwen Li
-
Priyanka Jain (OSS)