aboutsummaryrefslogtreecommitdiff
path: root/cmd/mvebu/bubt.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mvebu/bubt.c')
-rw-r--r--cmd/mvebu/bubt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 5cd520e..d4f381b 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
@@ -137,7 +137,7 @@ static ulong get_load_addr(void)
addr_str = env_get("loadaddr");
if (addr_str)
- addr = simple_strtoul(addr_str, NULL, 16);
+ addr = hextoul(addr_str, NULL);
else
addr = CONFIG_SYS_LOAD_ADDR;