omap5_distro_bootcmd
authorVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
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

index 8bf4a6b7e9f4c2467433a87fc3a41d4ecf75a8d3..ac948aa445677a55bd1256bddfb831491aa19ef3 100644 (file)
 #include <environment/ti/boot.h>
 #include <environment/ti/mmc.h>
 
+#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 <config_distro_bootcmd.h>
+
 #define CONFIG_EXTRA_ENV_SETTINGS \
        DEFAULT_LINUX_BOOT_ENV \
        DEFAULT_MMC_TI_ARGS \
@@ -65,6 +80,7 @@
        DEFAULT_FDT_TI_ARGS \
        DFUARGS \
        NETARGS \
+       BOOTENV \
 
 /*
  * SPL related defines.  The Public RAM memory map the ROM defines the