aboutsummaryrefslogtreecommitdiff
path: root/board/synopsys/hsdk
diff options
context:
space:
mode:
Diffstat (limited to 'board/synopsys/hsdk')
-rw-r--r--board/synopsys/hsdk/env-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/synopsys/hsdk/env-lib.c b/board/synopsys/hsdk/env-lib.c
index e2258385ceb..fd54ac75f20 100644
--- a/board/synopsys/hsdk/env-lib.c
+++ b/board/synopsys/hsdk/env-lib.c
@@ -254,7 +254,7 @@ static int arg_read_set(const struct env_map_common *map, u32 i, int argc,
if (map[i].type == ENV_HEX)
map[i].val->val = hextoul(argv[1], &endp);
else
- map[i].val->val = simple_strtoul(argv[1], &endp, 10);
+ map[i].val->val = dectoul(argv[1], &endp);
map[i].val->set = true;