[U-Boot] [PATCH 07/10] k2g: env: Allow use of a script and plain text env files

Lokesh Vutla lokeshvutla at ti.com
Wed Mar 9 11:09:36 CET 2016


For development purposes, it is easier to use the env import command
and plain text or script files instead of script-images. So allow
u-boot to load env var from a text file or a script file.

Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
---
 include/configs/k2g_evm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index ca1e368..ba084c1 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -36,6 +36,7 @@
 	"get_mon_mmc=load mmc ${bootpart} ${addr_mon} ${bootdir}/${name_mon}\0"\
 
 #define CONFIG_BOOTCOMMAND						\
+	"run envboot; "							\
 	"run set_name_pmmc init_${boot} get_pmmc_${boot} run_pmmc "	\
 	"get_fdt_${boot} get_mon_${boot} get_kern_${boot} "		\
 	"run_mon run_kern"
-- 
2.1.4



More information about the U-Boot mailing list