projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global: Convert simple_strtoul() with hex to hextoul()
[platform/kernel/u-boot.git]
/
cmd
/
disk.c
diff --git
a/cmd/disk.c
b/cmd/disk.c
index
2726115
..
cb3b990
100644
(file)
--- a/
cmd/disk.c
+++ b/
cmd/disk.c
@@
-36,7
+36,7
@@
int common_diskboot(struct cmd_tbl *cmdtp, const char *intf, int argc,
bootstage_mark(BOOTSTAGE_ID_IDE_ADDR);
if (argc > 1)
- addr =
simple_strtoul(argv[1], NULL, 16
);
+ addr =
hextoul(argv[1], NULL
);
bootstage_mark(BOOTSTAGE_ID_IDE_BOOT_DEVICE);