x86: dts: Mark serial as needed before relocation
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:40 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
We almost always need the serial port before relocation, so mark it as such.
This will ensure that it appears in the device tree for SPL, if used.

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

index 54c3faf..22f7b54 100644 (file)
@@ -1,5 +1,6 @@
 / {
        serial: serial {
+               u-boot,dm-pre-reloc;
                compatible = "ns16550";
                reg = <0x3f8 8>;
                reg-shift = <0>;