projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a7e625
)
earlycon: Remove hardcoded port->uartclk initialization in of_setup_earlycon
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 25 Apr 2018 13:48:42 +0000
(15:48 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:41:05 +0000
(13:41 +0200)
There is no reason to initialize uartclk to BASE_BAUD * 16 for DT based
systems.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/earlycon.c
b/drivers/tty/serial/earlycon.c
index
149d0d0
..
c14873b
100644
(file)
--- a/
drivers/tty/serial/earlycon.c
+++ b/
drivers/tty/serial/earlycon.c
@@
-246,7
+246,6
@@
int __init of_setup_earlycon(const struct earlycon_id *match,
return -ENXIO;
}
port->mapbase = addr;
return -ENXIO;
}
port->mapbase = addr;
- port->uartclk = BASE_BAUD * 16;
val = of_get_flat_dt_prop(node, "reg-offset", NULL);
if (val)
val = of_get_flat_dt_prop(node, "reg-offset", NULL);
if (val)