summaryrefslogtreecommitdiff
path: root/board/keymile/scripts/develop-common.txt
diff options
context:
space:
mode:
authorMatteo Ghidoni <matteo.ghidoni@hitachi-powergrids.com>2020-10-29 15:48:01 +0300
committerTom Rini <trini@konsulko.com>2020-11-19 17:45:49 +0300
commitaef04a8aa1164bf2605db102fa051a34f646c0a1 (patch)
treee01f65d96ff0aee5fdf777458fbcd3d52429594c /board/keymile/scripts/develop-common.txt
parent7291332a73c2b0ae94eec8361c5f4c89f8ff5ad2 (diff)
downloadu-boot-aef04a8aa1164bf2605db102fa051a34f646c0a1.tar.xz
km: replace hardcoded address for imported environment
Instead of using an hard coded address, make use of an already defined address for importing the environment for ramfs and nfs boot. This allows boards having different mapping to use the same code. CC: Heiko Schocher <hs@denx.de> CC: Tom Rini <trini@konsulko.com> Signed-off-by: Matteo Ghidoni <matteo.ghidoni@hitachi-powergrids.com> Signed-off-by: Holger Brunck <holger.brunck@hitachi-powergrids.com>
Diffstat (limited to 'board/keymile/scripts/develop-common.txt')
-rw-r--r--board/keymile/scripts/develop-common.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/scripts/develop-common.txt b/board/keymile/scripts/develop-common.txt
index f77a26abe8..4384c0da30 100644
--- a/board/keymile/scripts/develop-common.txt
+++ b/board/keymile/scripts/develop-common.txt
@@ -9,4 +9,4 @@ toolchain=/opt/eldk
rootfssize=0
set_uimage=printenv uimage || setenv uimage uImage
set_tftppath=if test ${hostname} = kmcoge5un; then setenv tftppath CI5UN; else if test ${hostname} = kmcoge5ne; then setenv tftppath CI5NE; else setenv tftppath ${IVM_Symbol}; fi; fi
-try_import_nfs_path=if tftpboot 0x200000 ${tftppath}/nfs-path.txt; then env import -t 0x200000 ${filesize}; else echo no auto nfs path imported; echo you can set nfsargs in /tftpboot/${tftppath}/nfs-path.txt and rerun develop; fi
+try_import_nfs_path=if tftpboot ${load_addr_r} ${tftppath}/nfs-path.txt; then env import -t ${load_addr_r} ${filesize}; else echo no auto nfs path imported; echo you can set nfsargs in /tftpboot/${tftppath}/nfs-path.txt and rerun develop; fi