[PATCH 3/4] bootm: Replace getenv_loadaddr with getenv_ul
Sascha Hauer
s.hauer at pengutronix.de
Fri Sep 27 02:30:03 EDT 2013
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
commands/bootm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/bootm.c b/commands/bootm.c
index a4004df..ae6b5f3 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -109,8 +109,8 @@ static int do_bootm(int argc, char *argv[])
oftree = getenv("global.bootm.oftree");
os_file = getenv("global.bootm.image");
- data.os_address = getenv_loadaddr("global.bootm.image.loadaddr");
- data.initrd_address = getenv_loadaddr("global.bootm.initrd.loadaddr");
+ getenv_ul("global.bootm.image.loadaddr", &data.os_address);
+ getenv_ul("global.bootm.initrd.loadaddr", &data.initrd_address);
if (IS_ENABLED(CONFIG_CMD_BOOTM_INITRD))
initrd_file = getenv("global.bootm.initrd");
--
1.8.4.rc3
More information about the barebox
mailing list