summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/include
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-04-03 14:56:19 -0700
committerMark Hatle <mark.hatle@xilinx.com>2020-04-03 16:00:19 -0700
commit8a60a94790ceb966d92d1a7ce3b087ef4edba7b5 (patch)
tree639c92f5f0a018102a05672b31410ce0fe5dfd12 /meta-xilinx-bsp/conf/machine/include
parente7dd46d48af54811edfdb0a68c4006b87eaeea52 (diff)
downloadmeta-xilinx-8a60a94790ceb966d92d1a7ce3b087ef4edba7b5.tar.gz
machines: Move from SERIAL_CONSOLE (deprecated) to SERIAL_CONSOLES
Usage of 'SERIAL_CONSOLE' was deprecarted in late 2013. Move to the using 'SERIAL_CONSOLES', where the format is slightly different. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/conf/machine/include')
-rw-r--r--meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc
index 74eeff4d..886cad24 100644
--- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc
+++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-qemu.inc
@@ -22,8 +22,9 @@ def qemu_default_dtb(d):
22 return "" 22 return ""
23 23
24def qemu_default_serial(d): 24def qemu_default_serial(d):
25 if d.getVar("SERIAL_CONSOLE", True): 25 if d.getVar("SERIAL_CONSOLES", True):
26 speed, console = d.getVar("SERIAL_CONSOLE", True).split(" ", 1) 26 first_console = d.getVar("SERIAL_CONSOLES", True).split(" ")[0]
27 speed, console = first_console.split(";", 1)
27 # zynqmp uses earlycon and stdout (in dtb) 28 # zynqmp uses earlycon and stdout (in dtb)
28 if "zynqmp" in d.getVar("MACHINEOVERRIDES", True).split(":"): 29 if "zynqmp" in d.getVar("MACHINEOVERRIDES", True).split(":"):
29 return "" 30 return ""