From: Thierry Reding Date: Mon, 15 Apr 2019 09:32:24 +0000 (+0200) Subject: ARM: tegra: Allow boards to override boot target devices X-Git-Tag: v2019.07-rc4~4^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=147fac6aef043b41a48b3ad87639c6872da298f1;p=oweals%2Fu-boot.git 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 Signed-off-by: Tom Warren --- diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index e54428ba43..9685ee5059 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 #else #define BOOTENV