提交 56b9f9d6 编写于 作者: M Max Filippov 提交者: Chris Zankel

xtensa: xtfpga: fix earlycon endianness

Serial port is attached to XTFPGA boards as native endian device, now
that earlycon parameter parser understands mmio32native put it into
earlycon kernel parameter. This makes early console functional on both
little- and big-endian CPUs with identical kernel command lines.
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
上级 bce299ca
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
/ { / {
compatible = "cdns,xtensa-kc705"; compatible = "cdns,xtensa-kc705";
chosen { chosen {
bootargs = "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000"; bootargs = "earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000";
}; };
memory@0 { memory@0 {
device_type = "memory"; device_type = "memory";
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
interrupt-parent = <&pic>; interrupt-parent = <&pic>;
chosen { chosen {
bootargs = "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug"; bootargs = "earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug";
}; };
memory@0 { memory@0 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册