mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 01:21:07 +02:00
ramips: UPF_FIXED_TYPE must be set for the serial ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26327 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6513a4df99
commit
3caf3c48cf
@ -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…
x
Reference in New Issue
Block a user