Convert CONFIG_SYS_MAX_FLASH_SECT to Kconfig
[platform/kernel/u-boot.git] / cmd / sata.c
index aa396c1..76da190 100644 (file)
@@ -88,7 +88,7 @@ static int do_sata(struct cmd_tbl *cmdtp, int flag, int argc,
                int devnum = 0;
 
                if (argc == 3)
-                       devnum = (int)simple_strtoul(argv[2], NULL, 10);
+                       devnum = (int)dectoul(argv[2], NULL);
                if (!strcmp(argv[1], "stop"))
                        return sata_remove(devnum);