summaryrefslogtreecommitdiff
path: root/include/configs/gw_ventana.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2016-05-24 11:03:44 -0700
committerStefano Babic <sbabic@denx.de>2016-05-31 17:22:35 +0200
commit1b7400011e62188734814df6b28e8d55f2bf752d (patch)
tree3e1d8f29f2a7cc766a294a7acf0d6966803c67d5 /include/configs/gw_ventana.h
parent4df0bff3ce5c37ac27faed1fe90bf0cc0a741750 (diff)
imx: ventana: config: use bootdir env var for directory of fdt files
In order to make the default boot scripts more flexible, use the variable 'bootdir' to specify the filesystem directory to look for fdt files in. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs/gw_ventana.h')
-rw-r--r--include/configs/gw_ventana.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index e57b120555..dff4303d30 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -291,14 +291,14 @@
"fdt addr ${fdt_addr}\0" \
"bootdir=boot\0" \
"loadfdt=" \
- "if ${fsload} ${fdt_addr} boot/${fdt_file}; then " \
- "echo Loaded DTB from boot/${fdt_file}; " \
+ "if ${fsload} ${fdt_addr} ${bootdir}/${fdt_file}; then " \
+ "echo Loaded DTB from ${bootdir}/${fdt_file}; " \
"run fixfdt; " \
- "elif ${fsload} ${fdt_addr} boot/${fdt_file1}; then " \
- "echo Loaded DTB from boot/${fdt_file1}; " \
+ "elif ${fsload} ${fdt_addr} ${bootdir}/${fdt_file1}; then " \
+ "echo Loaded DTB from ${bootdir}/${fdt_file1}; " \
"run fixfdt; " \
- "elif ${fsload} ${fdt_addr} boot/${fdt_file2}; then " \
- "echo Loaded DTB from boot/${fdt_file2}; " \
+ "elif ${fsload} ${fdt_addr} ${bootdir}/${fdt_file2}; then " \
+ "echo Loaded DTB from ${bootdir}/${fdt_file2}; " \
"run fixfdt; " \
"fi\0" \
\