projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ef791
)
serial: pl01x: pass pl01x_type to set baudrate
author
Vikas Manocha
<vikas.manocha@st.com>
Fri, 21 Nov 2014 18:34:19 +0000
(10:34 -0800)
committer
Tom Rini
<trini@ti.com>
Mon, 8 Dec 2014 14:35:44 +0000
(09:35 -0500)
Although we were checking the pl01x type, seems like PL010 type was being
passed by mistake.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_pl01x.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_pl01x.c
b/drivers/serial/serial_pl01x.c
index 38dda910217652ecf167ad52bbc53af3559e2722..1860289ce4e781a81b76eab6f18aabd655e3dc4a 100644
(file)
--- a/
drivers/serial/serial_pl01x.c
+++ b/
drivers/serial/serial_pl01x.c
@@
-201,7
+201,7
@@
static void pl01x_serial_init_baud(int baudrate)
base_regs = (struct pl01x_regs *)port[CONFIG_CONS_INDEX];
pl01x_generic_serial_init(base_regs, pl01x_type);
- pl01x_generic_setbrg(base_regs,
TYPE_PL010
, clock, baudrate);
+ pl01x_generic_setbrg(base_regs,
pl01x_type
, clock, baudrate);
}
/*