summaryrefslogtreecommitdiffstats
path: root/include/configs/k2g_evm.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-03-09 15:39:36 +0530
committerTom Rini <trini@konsulko.com>2016-03-15 21:30:17 -0400
commit0552d1d8dc7c519fb45e1c44e22b558788ff4cfa (patch)
tree9bffc5310bee0b1fd8ebd17da9a130c8dcf76519 /include/configs/k2g_evm.h
parent18c534bbfbe9355fc5373547f4f89384a29da516 (diff)
downloadtalos-obmc-uboot-0552d1d8dc7c519fb45e1c44e22b558788ff4cfa.tar.gz
talos-obmc-uboot-0552d1d8dc7c519fb45e1c44e22b558788ff4cfa.zip
k2g: env: Allow use of a script and plain text env files
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@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/k2g_evm.h')
-rw-r--r--include/configs/k2g_evm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index ca1e368aa0..ba084c146f 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"
OpenPOWER on IntegriCloud