diff options
author | Matteo Ghidoni <matteo.ghidoni@hitachi-powergrids.com> | 2020-10-29 13:48:01 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-11-19 09:45:49 -0500 |
commit | aef04a8aa1164bf2605db102fa051a34f646c0a1 (patch) | |
tree | e01f65d96ff0aee5fdf777458fbcd3d52429594c /include | |
parent | 7291332a73c2b0ae94eec8361c5f4c89f8ff5ad2 (diff) | |
download | u-boot-aef04a8aa1164bf2605db102fa051a34f646c0a1.tar.gz u-boot-aef04a8aa1164bf2605db102fa051a34f646c0a1.tar.bz2 u-boot-aef04a8aa1164bf2605db102fa051a34f646c0a1.zip |
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 'include')
-rw-r--r-- | include/configs/km/keymile-common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index c1968048a7..851b13e063 100644 --- a/include/configs/km/keymile-common.h +++ b/include/configs/km/keymile-common.h @@ -90,12 +90,12 @@ "set_fdthigh cramfsloadkernel flashargs add_default " \ "addpanic boot\0" \ "develop=" \ - "tftp 200000 scripts/develop-${arch}.txt && " \ - "env import -t 200000 ${filesize} && " \ + "tftp ${load_addr_r} scripts/develop-${arch}.txt && " \ + "env import -t ${load_addr_r} ${filesize} && " \ "run setup_debug_env\0" \ "ramfs=" \ - "tftp 200000 scripts/ramfs-${arch}.txt && " \ - "env import -t 200000 ${filesize} && " \ + "tftp ${load_addr_r} scripts/ramfs-${arch}.txt && " \ + "env import -t ${load_addr_r} ${filesize} && " \ "run setup_debug_env\0" \ "" |