From: Vagrant Cascadian Date: Sun, 23 May 2021 04:32:45 +0000 (+0100) Subject: omap5_distro_bootcmd X-Git-Tag: archive/raspbian/2021.01+dfsg-5+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1119ace142eea224ed627ec5459686c87ce74d5f;p=u-boot.git omap5_distro_bootcmd Enable distro_bootcmd support (doc/README.distro) for omap5 targets. Gbp-Pq: Topic am57xx Gbp-Pq: Name omap5_distro_bootcmd --- diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index de0a6af2f..ace0460af 100644 --- a/include/configs/ti_omap5_common.h +++ b/include/configs/ti_omap5_common.h @@ -58,6 +58,21 @@ #include #include +#define BOOT_TARGET_DEVICES(func) \ + func(MMC, mmc, 0) \ + func(MMC, mmc, 1) \ + func(PXE, pxe, na) \ + func(DHCP, dhcp, na) + +#ifdef CONFIG_BOOTCOMMAND +#undef CONFIG_BOOTCOMMAND +#endif +#define CONFIG_BOOTCOMMAND \ + "run findfdt; " \ + "run distro_bootcmd" + +#include + #define CONFIG_EXTRA_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV \ DEFAULT_MMC_TI_ARGS \ @@ -67,6 +82,7 @@ DFUARGS \ NETARGS \ NANDARGS \ + BOOTENV \ /* * SPL related defines. The Public RAM memory map the ROM defines the