From 016e34814c23f88c103f649eb5767609894aaebc Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Mon, 5 Oct 2020 20:13:28 +0100 Subject: [PATCH] omap5_distro_bootcmd Enable distro_bootcmd support (doc/README.distro) for omap5 targets. Gbp-Pq: Topic am57xx Gbp-Pq: Name omap5_distro_bootcmd --- include/configs/ti_omap5_common.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.30.2