mirror of https://github.com/hak5/openwrt.git
ramips: UPF_FIXED_TYPE must be set for the serial ports
SVN-Revision: 26327lede-17.01
parent
9ef4785364
commit
1844ea6c7b
|
@ -49,7 +49,7 @@ void __init ramips_early_serial_setup(int line, unsigned base, unsigned freq,
|
|||
int err;
|
||||
|
||||
memset(&p, 0, sizeof(p));
|
||||
p.flags = UPF_SKIP_TEST;
|
||||
p.flags = UPF_SKIP_TEST | UPF_FIXED_TYPE;
|
||||
p.iotype = UPIO_AU;
|
||||
p.uartclk = freq;
|
||||
p.regshift = 2;
|
||||
|
|
Loading…
Reference in New Issue