1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Enable distro_bootcmd support (doc/README.distro) for omap5 targets.
Index: u-boot/include/configs/ti_omap5_common.h
===================================================================
--- u-boot.orig/include/configs/ti_omap5_common.h
+++ u-boot/include/configs/ti_omap5_common.h
@@ -58,6 +58,21 @@
#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 \
@@ -66,6 +81,7 @@
DEFAULT_FDT_TI_ARGS \
DFUARGS \
NETARGS \
+ BOOTENV \
/*
* SPL related defines. The Public RAM memory map the ROM defines the
|