x86: dts: Mark serial as needed before relocation

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>
This commit is contained in:
Simon Glass 2017-01-16 07:03:40 -07:00 committed by Bin Meng
parent c7ccb2c032
commit f9d275b2bd
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/ {
serial: serial {
u-boot,dm-pre-reloc;
compatible = "ns16550";
reg = <0x3f8 8>;
reg-shift = <0>;