]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include/configs: ls1046afrwy: add support for boot targets.
authorPramod Kumar <pramod.kumar_1@nxp.com>
Wed, 29 Apr 2020 09:30:41 +0000 (15:00 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:08 +0000 (09:22 +0530)
ls1046afrwy does not support sata boot.
So Override default BOOT_TARGET_DEVICES
and support only  mmc, usb and dhcp as boot targets.

Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1046afrwy.h

index 88d06ce7e41abb6b7483f0c3f74ad6b9a16078b7..44e7fc3a72c340ea2af1956b5d33493577645fbc 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2019 NXP
+ * Copyright 2019-2020 NXP
  */
 
 #ifndef __LS1046AFRWY_H__
 #define CONFIG_SYS_MMC_ENV_DEV         0
 #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) \
+       func(DHCP, dhcp, na)
+#endif
+
 /* FMan */
 #ifdef CONFIG_SYS_DPAA_FMAN
 #define CONFIG_FMAN_ENET