mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
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>
This commit is contained in:
parent
18c534bbfb
commit
0552d1d8dc
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
"get_mon_mmc=load mmc ${bootpart} ${addr_mon} ${bootdir}/${name_mon}\0"\
|
"get_mon_mmc=load mmc ${bootpart} ${addr_mon} ${bootdir}/${name_mon}\0"\
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
|
"run envboot; " \
|
||||||
"run set_name_pmmc init_${boot} get_pmmc_${boot} run_pmmc " \
|
"run set_name_pmmc init_${boot} get_pmmc_${boot} run_pmmc " \
|
||||||
"get_fdt_${boot} get_mon_${boot} get_kern_${boot} " \
|
"get_fdt_${boot} get_mon_${boot} get_kern_${boot} " \
|
||||||
"run_mon run_kern"
|
"run_mon run_kern"
|
||||||
|
|
Loading…
Reference in a new issue