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 decimal to dectoul()
[platform/kernel/u-boot.git]
/
drivers
/
serial
/
serial-uclass.c
diff --git
a/drivers/serial/serial-uclass.c
b/drivers/serial/serial-uclass.c
index
2b4feac
..
8171b17
100644
(file)
--- a/
drivers/serial/serial-uclass.c
+++ b/
drivers/serial/serial-uclass.c
@@
-395,7
+395,7
@@
static int on_baudrate(const char *name, const char *value, enum env_op op,
/*
* Switch to new baudrate if new baudrate is supported
*/
- baudrate =
simple_strtoul(value, NULL, 10
);
+ baudrate =
dectoul(value, NULL
);
/* Not actually changing */
if (gd->baudrate == baudrate)