aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-04-15 11:32:24 +0200
committerTom Warren <twarren@nvidia.com>2019-06-05 09:16:34 -0700
commit147fac6aef043b41a48b3ad87639c6872da298f1 (patch)
tree4dc9c6b935335ac980e166cb5517c9ca6609f15e /include
parent8f60d18f9406c38a90972798290aa3ce3de92ecb (diff)
downloadu-boot-147fac6aef043b41a48b3ad87639c6872da298f1.zip
u-boot-147fac6aef043b41a48b3ad87639c6872da298f1.tar.gz
u-boot-147fac6aef043b41a48b3ad87639c6872da298f1.tar.bz2
ARM: tegra: Allow boards to override boot target devices
Boards may not support all the boot target devices in the default list for Tegra devices. Allow a board to override the list and default to the standard list only if the board hasn't specified one itself. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/tegra-common-post.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index e54428b..9685ee5 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -21,12 +21,14 @@
#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */
#ifndef CONFIG_SPL_BUILD
+#ifndef BOOT_TARGET_DEVICES
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 1) \
func(MMC, mmc, 0) \
func(USB, usb, 0) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)
+#endif
#include <config_distro_bootcmd.h>
#else
#define BOOTENV