Reorganize enablements to get tiny and preempt-rt working again, as well
as a general clean-up.  Many of the tiny things were moved into the
general config, as it won't hurt to have it there and it keeps the tiny
config smaller.

Signed-off-by: Jon Mason <[email protected]>
---
 bsp/qemuarma15/qemuarma15-gfx.cfg        |  7 +------
 bsp/qemuarma15/qemuarma15-preempt-rt.scc |  5 +----
 bsp/qemuarma15/qemuarma15-standard.scc   |  7 +------
 bsp/qemuarma15/qemuarma15-tiny.cfg       | 20 --------------------
 bsp/qemuarma15/qemuarma15-tiny.scc       |  9 ---------
 bsp/qemuarma15/qemuarma15.cfg            | 10 ++++++++--
 bsp/qemuarma15/qemuarma15.scc            |  7 +++++++
 7 files changed, 18 insertions(+), 47 deletions(-)
 delete mode 100644 bsp/qemuarma15/qemuarma15-tiny.cfg

diff --git a/bsp/qemuarma15/qemuarma15-gfx.cfg 
b/bsp/qemuarma15/qemuarma15-gfx.cfg
index 193ff9850d22..c3e36f0da75d 100644
--- a/bsp/qemuarma15/qemuarma15-gfx.cfg
+++ b/bsp/qemuarma15/qemuarma15-gfx.cfg
@@ -1,11 +1,6 @@
 # SPDX-License-Identifier: MIT
-CONFIG_INPUT_TABLET=y
-CONFIG_USB=y
+CONFIG_INPUT=y
 CONFIG_USB_HID=y
-CONFIG_USB_XHCI_HCD=y
-
-CONFIG_DRM=y
-CONFIG_DRM_VIRTIO_GPU=y
 
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_UINPUT=y
diff --git a/bsp/qemuarma15/qemuarma15-preempt-rt.scc 
b/bsp/qemuarma15/qemuarma15-preempt-rt.scc
index 216757bb016b..18bbbd4690e8 100644
--- a/bsp/qemuarma15/qemuarma15-preempt-rt.scc
+++ b/bsp/qemuarma15/qemuarma15-preempt-rt.scc
@@ -3,11 +3,8 @@ define KMACHINE qemuarma15
 define KTYPE preempt-rt
 define KARCH arm
 
-# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc branch
 include ktypes/preempt-rt/preempt-rt.scc
 
-include cfg/virtio.scc
-include cfg/dmaengine.scc
-include cfg/timer/rtc.scc
 include qemuarma15.scc
 
+include features/pci/pci.scc
diff --git a/bsp/qemuarma15/qemuarma15-standard.scc 
b/bsp/qemuarma15/qemuarma15-standard.scc
index cdee6332c35f..b3210ed900f4 100644
--- a/bsp/qemuarma15/qemuarma15-standard.scc
+++ b/bsp/qemuarma15/qemuarma15-standard.scc
@@ -4,12 +4,7 @@ define KTYPE standard
 define KARCH arm
 
 include ktypes/standard/standard.scc
-# we aren't carrying patches specific to this platform, so let's
-# skip the branch for now.
-# branch qemuarma15
 
-include cfg/virtio.scc
-include cfg/dmaengine.scc
-include cfg/timer/rtc.scc
 include qemuarma15.scc
 
+include features/pci/pci.scc
diff --git a/bsp/qemuarma15/qemuarma15-tiny.cfg 
b/bsp/qemuarma15/qemuarma15-tiny.cfg
deleted file mode 100644
index ed47939f0a62..000000000000
--- a/bsp/qemuarma15/qemuarma15-tiny.cfg
+++ /dev/null
@@ -1,20 +0,0 @@
-# SPDX-License-Identifier: MIT
-CONFIG_MMU=y
-CONFIG_ARCH_MULTIPLATFORM=y
-CONFIG_ARCH_MULTI_V7=y
-
-CONFIG_ARM_AMBA=y
-
-CONFIG_ARM_THUMB=y
-CONFIG_KUSER_HELPERS=y
-CONFIG_OABI_COMPAT=y
-CONFIG_EXT4_FS=y
-
-# to keep things small, you really don't want these on. But to
-# keep qemuarm's hvc0 console happy, we have them on for now
-CONFIG_TTY=y
-CONFIG_VIRTIO_MENU=y
-CONFIG_VIRTIO_PCI=y
-CONFIG_VIRTIO=y
-CONFIG_VIRTIO_CONSOLE=y
-CONFIG_HVC_DRIVER=y
diff --git a/bsp/qemuarma15/qemuarma15-tiny.scc 
b/bsp/qemuarma15/qemuarma15-tiny.scc
index 406f811145fa..331dbbba3a0b 100644
--- a/bsp/qemuarma15/qemuarma15-tiny.scc
+++ b/bsp/qemuarma15/qemuarma15-tiny.scc
@@ -4,14 +4,5 @@ define KTYPE tiny
 define KARCH arm
 
 include ktypes/tiny/tiny.scc
-# we aren't carrying patches specific to this platform, so let's
-# skip the branch for now.
-# branch qemuarma15
 
-include cfg/virtio.scc
-include cfg/dmaengine.scc
-include cfg/timer/rtc.scc
 include qemuarma15.scc
-
-
-kconf hardware qemuarma15-tiny.cfg
diff --git a/bsp/qemuarma15/qemuarma15.cfg b/bsp/qemuarma15/qemuarma15.cfg
index 32187155d2a0..df8181ff5061 100644
--- a/bsp/qemuarma15/qemuarma15.cfg
+++ b/bsp/qemuarma15/qemuarma15.cfg
@@ -1,4 +1,7 @@
 # SPDX-License-Identifier: MIT
+CONFIG_MMU=y
+CONFIG_ARCH_MULTIPLATFORM=y
+CONFIG_ARCH_MULTI_V7=y
 CONFIG_ARCH_VIRT=y
 CONFIG_SMP=y
 CONFIG_NR_CPUS=8
@@ -8,6 +11,7 @@ CONFIG_VFP=y
 CONFIG_VFPv3=y
 CONFIG_NEON=y
 CONFIG_KERNEL_MODE_NEON=y
+CONFIG_TTY=y
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 CONFIG_HW_RANDOM=y
@@ -28,6 +32,8 @@ CONFIG_CRYPTO_GHASH_ARM_CE=y
 CONFIG_CRYPTO_CRC32_ARM_CE=y
 CONFIG_CRYPTO_CHACHA20_NEON=y
 CONFIG_ARM_LPAE=y
-CONFIG_PCI=y
-CONFIG_PCI_HOST_GENERIC=y
 CONFIG_HIGHMEM=y
+CONFIG_ARM_AMBA=y
+CONFIG_ARM_THUMB=y
+
+# CONFIG_FUNCTION_GRAPH_TRACER is not set
diff --git a/bsp/qemuarma15/qemuarma15.scc b/bsp/qemuarma15/qemuarma15.scc
index 68d9e710a258..ff3da3702bb6 100644
--- a/bsp/qemuarma15/qemuarma15.scc
+++ b/bsp/qemuarma15/qemuarma15.scc
@@ -1,3 +1,10 @@
 # SPDX-License-Identifier: MIT
 kconf hardware qemuarma15.cfg
 kconf hardware qemuarma15-gfx.cfg
+
+include features/usb/xhci-hcd.scc
+include features/net/net.scc
+
+include cfg/virtio.scc
+include cfg/dmaengine.scc
+include cfg/timer/rtc.scc
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11114): 
https://lists.yoctoproject.org/g/linux-yocto/message/11114
Mute This Topic: https://lists.yoctoproject.org/mt/90161233/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to