diff mbox series

include/configs: ls1012afrwy: delete duplicate environment variable BOOT_TARGET_DEVICES

Message ID 20200318034159.9201-1-biwen.li@nxp.com
State New
Headers show
Series include/configs: ls1012afrwy: delete duplicate environment variable BOOT_TARGET_DEVICES | expand

Commit Message

Biwen Li March 18, 2020, 3:41 a.m. UTC
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(-)

Comments

Priyanka Jain (OSS) March 18, 2020, 10:39 a.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Biwen Li
>Sent: Wednesday, March 18, 2020 9:12 AM
>To: Jagdish Gediya <jagdish.gediya at nxp.com>; Priyanka Jain
><priyanka.jain at nxp.com>; Pramod Kumar <pramod.kumar_1 at nxp.com>
>Cc: Alison Wang <alison.wang at nxp.com>; u-boot at lists.denx.de; Jiafei Pan
><jiafei.pan at nxp.com>; Biwen Li <biwen.li at 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 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
Priyanka
diff mbox series

Patch

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