aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls1046afrwy.h
diff options
context:
space:
mode:
authorPramod Kumar <pramod.kumar_1@nxp.com>2020-04-29 15:00:41 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2020-05-19 09:22:08 +0530
commit1ff0c9d59c7a151956aaac0fc72c85e927617ce3 (patch)
tree2cdf24cf9d4ab3c0be1624d4de20eb6a818c531a /include/configs/ls1046afrwy.h
parentd5b0af047a942b21ea86476e3931df28445b1ca4 (diff)
downloadu-boot-1ff0c9d59c7a151956aaac0fc72c85e927617ce3.zip
u-boot-1ff0c9d59c7a151956aaac0fc72c85e927617ce3.tar.gz
u-boot-1ff0c9d59c7a151956aaac0fc72c85e927617ce3.tar.bz2
include/configs: ls1046afrwy: add support for boot targets.
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>
Diffstat (limited to 'include/configs/ls1046afrwy.h')
-rw-r--r--include/configs/ls1046afrwy.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/ls1046afrwy.h b/include/configs/ls1046afrwy.h
index 88d06ce..44e7fc3 100644
--- a/include/configs/ls1046afrwy.h
+++ b/include/configs/ls1046afrwy.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/*
- * Copyright 2019 NXP
+ * Copyright 2019-2020 NXP
*/
#ifndef __LS1046AFRWY_H__
@@ -99,6 +99,14 @@
#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