aboutsummaryrefslogtreecommitdiffstats
path: root/board/samsung/common/exynos5-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/common/exynos5-dt.c')
-rw-r--r--board/samsung/common/exynos5-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/common/exynos5-dt.c b/board/samsung/common/exynos5-dt.c
index 1318ea716a5..0d77a57f808 100644
--- a/board/samsung/common/exynos5-dt.c
+++ b/board/samsung/common/exynos5-dt.c
@@ -169,7 +169,7 @@ char *get_dfu_alt_boot(char *interface, char *devstr)
if (board_is_odroidxu4() || board_is_odroidhc1() || board_is_odroidhc2())
return info;
- dev_num = simple_strtoul(devstr, NULL, 10);
+ dev_num = dectoul(devstr, NULL);
mmc = find_mmc_device(dev_num);
if (!mmc)