x86: Move coreboot over to use the coreboot UART
authorSimon Glass <sjg@chromium.org>
Fri, 20 Dec 2019 00:58:21 +0000 (17:58 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 3 Feb 2020 17:19:25 +0000 (01:19 +0800)
Use this UART to improve the compatibility of U-Boot when used as a
coreboot payload.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/coreboot.dts

index a88da6eafd68f472008046a5cd0015fae9fbcd47..38ddaafa1981a12de5aabb0deb840a9c972e1897 100644 (file)
@@ -8,7 +8,6 @@
 /dts-v1/;
 
 /include/ "skeleton.dtsi"
-/include/ "serial.dtsi"
 /include/ "keyboard.dtsi"
 /include/ "pcspkr.dtsi"
 /include/ "reset.dtsi"
                u-boot,dm-pre-reloc;
        };
 
+       serial: serial {
+               u-boot,dm-pre-reloc;
+               compatible = "coreboot-serial";
+       };
+
        coreboot-fb {
                compatible = "coreboot-fb";
        };