summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/conf
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-07-18 16:13:41 -0600
committerMark Hatle <mark.hatle@amd.com>2023-07-20 11:56:40 -0500
commit5f973d214a9a82b8532818b7dbc73097a064ba0b (patch)
tree1aeee545202db8ef38e407f075cbdeb261917828 /meta-xilinx-core/conf
parent74b1f643806f2e8462f39561c24926781532ae56 (diff)
downloadmeta-xilinx-5f973d214a9a82b8532818b7dbc73097a064ba0b.tar.gz
machine: Add SERIAL_CONSOLES_CHECK for sysvinit only
SERIAL_CONSOLES_CHECK is supported only for sysvinit and default INIT Manager is systemd, hence move this variable from machine conf files to machine-xilinx-default inclusion and set only if DISTRO_FEATURES is sysvinit. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf')
-rw-r--r--meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc3
-rw-r--r--meta-xilinx-core/conf/machine/microblaze-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/versal-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/zynq-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/zynqmp-generic.conf1
5 files changed, 3 insertions, 4 deletions
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
index 4a4384a1..16aa1316 100644
--- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
@@ -128,3 +128,6 @@ def get_default_image_boot_files(d):
128XSERVER_EXT ?= "" 128XSERVER_EXT ?= ""
129 129
130FPGA_MNGR_RECONFIG_ENABLE ?= "1" 130FPGA_MNGR_RECONFIG_ENABLE ?= "1"
131
132# This variable is supported only with SysVinit.
133SERIAL_CONSOLES_CHECK = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SERIAL_CONSOLES}', '', d)}"
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf
index 9b811aa5..ac785a17 100644
--- a/meta-xilinx-core/conf/machine/microblaze-generic.conf
+++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf
@@ -45,7 +45,6 @@ KERNEL_EXTRA_ARGS += "UIMAGE_LOADADDR=${UBOOT_ENTRYPOINT}"
45 45
46# Microblaze Serial Console settings 46# Microblaze Serial Console settings
47SERIAL_CONSOLES ?= "115200;ttyUL0" 47SERIAL_CONSOLES ?= "115200;ttyUL0"
48SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
49YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" 48YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
50 49
51require conf/machine/include/soc-tune-include.inc 50require conf/machine/include/soc-tune-include.inc
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf
index 3bf38b23..f87dc140 100644
--- a/meta-xilinx-core/conf/machine/versal-generic.conf
+++ b/meta-xilinx-core/conf/machine/versal-generic.conf
@@ -33,7 +33,6 @@ UBOOT_LOADADDRESS ?= "0x200000"
33 33
34# Versal Serial Console 34# Versal Serial Console
35SERIAL_CONSOLES ?= "115200;ttyAMA0" 35SERIAL_CONSOLES ?= "115200;ttyAMA0"
36SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
37YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" 36YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
38 37
39require conf/machine/include/soc-versal.inc 38require conf/machine/include/soc-versal.inc
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf
index 0409e4ba..e97be2ff 100644
--- a/meta-xilinx-core/conf/machine/zynq-generic.conf
+++ b/meta-xilinx-core/conf/machine/zynq-generic.conf
@@ -32,7 +32,6 @@ KERNEL_EXTRA_ARGS += "UIMAGE_LOADADDR=${UBOOT_ENTRYPOINT}"
32 32
33# Zynq-7000 Serial Console settings 33# Zynq-7000 Serial Console settings
34SERIAL_CONSOLES ?= "115200;ttyPS0" 34SERIAL_CONSOLES ?= "115200;ttyPS0"
35SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
36YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" 35YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
37 36
38require conf/machine/include/soc-zynq.inc 37require conf/machine/include/soc-zynq.inc
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf
index 5faa3095..b60014df 100644
--- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf
+++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf
@@ -44,7 +44,6 @@ UBOOT_LOADADDRESS ?= "0x200000"
44 44
45# ZynqMP Serial Console 45# ZynqMP Serial Console
46SERIAL_CONSOLES ?= "115200;ttyPS0" 46SERIAL_CONSOLES ?= "115200;ttyPS0"
47SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
48YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" 47YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
49 48
50require conf/machine/include/soc-zynqmp.inc 49require conf/machine/include/soc-zynqmp.inc