Convert CONFIG_SYS_NAND_ONFI_DETECTION to Kconfig
[platform/kernel/u-boot.git] / cmd / source.c
index 71f7152..81e015b 100644 (file)
@@ -179,7 +179,7 @@ static int do_source(struct cmd_tbl *cmdtp, int flag, int argc,
                      fit_uname, addr);
 #endif
        } else {
-               addr = simple_strtoul(argv[1], NULL, 16);
+               addr = hextoul(argv[1], NULL);
                debug("*  source: cmdline image address = 0x%08lx\n", addr);
        }