mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm: add back linux-yocto defconfig changes
linux-yocto has moved to 5.14, which still needs defconfig tweaks to build without warnings. Change-Id: Ia14c02562cf0ccb5fb8fd8544901530a0cfb487b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -0,0 +1,132 @@
|
||||
Upstream-Status: Submitted
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
|
||||
From 976241eed25267bae5a535c01971c7c81ddcf38b Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@arm.com>
|
||||
Date: Wed, 13 Jan 2021 15:32:22 +0000
|
||||
Subject: [PATCH 2/5] arm64: defconfig: drop unused POWER_AVS option
|
||||
|
||||
Commit 785b5bb41b0a ("PM: AVS: Drop the avs directory and the
|
||||
corresponding Kconfig") moved AVS code to SOC-specific folders, and
|
||||
removed corresponding Kconfig from drivers/power, leaving original
|
||||
POWER_AVS config option enabled in some defconfigs.
|
||||
|
||||
Remove the options, which have no references in the tree anymore.
|
||||
|
||||
Fixes: 785b5bb41b0a ("PM: AVS: Drop the avs directory and the corresponding Kconfig")
|
||||
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
arch/arm64/configs/defconfig | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
||||
index 9907a431db0d..f50751b6eaec 100644
|
||||
--- a/arch/arm64/configs/defconfig
|
||||
+++ b/arch/arm64/configs/defconfig
|
||||
@@ -538,7 +538,6 @@ CONFIG_GPIO_PCA953X_IRQ=y
|
||||
CONFIG_GPIO_BD9571MWV=m
|
||||
CONFIG_GPIO_MAX77620=y
|
||||
CONFIG_GPIO_SL28CPLD=m
|
||||
-CONFIG_POWER_AVS=y
|
||||
CONFIG_QCOM_CPR=y
|
||||
CONFIG_ROCKCHIP_IODOMAIN=y
|
||||
CONFIG_POWER_RESET_MSM=y
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
||||
From 07fbdbcb768d70ccd8e7fe66aee9f4705a60400b Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@arm.com>
|
||||
Date: Wed, 28 Jul 2021 16:05:56 +0100
|
||||
Subject: [PATCH 3/5] arm64: defconfig: set CONFIG_USB_CONN_GPIO=y
|
||||
|
||||
Since 10a7b37b5b ("arm64: Update default configuration") PHY_TEGRA_XUSB
|
||||
is set to y. That option needs USB_CONN_GPIO to also be y not m, so
|
||||
set USB_CONN_GPIO explicitly to y to reflect reality.
|
||||
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
arch/arm64/configs/defconfig | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
||||
index f50751b6eaec..15595d6db256 100644
|
||||
--- a/arch/arm64/configs/defconfig
|
||||
+++ b/arch/arm64/configs/defconfig
|
||||
@@ -789,7 +789,7 @@ CONFIG_SND_AUDIO_GRAPH_CARD=m
|
||||
CONFIG_HID_MULTITOUCH=m
|
||||
CONFIG_I2C_HID_ACPI=m
|
||||
CONFIG_I2C_HID_OF=m
|
||||
-CONFIG_USB_CONN_GPIO=m
|
||||
+CONFIG_USB_CONN_GPIO=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_OTG=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
||||
From 26e4f7955080cc0f5670471823d73b972d3fe080 Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@arm.com>
|
||||
Date: Wed, 8 Sep 2021 11:51:03 +0100
|
||||
Subject: [PATCH 4/5] arm64: defconfig: remove obsolete CONFIG_ARCH_AGILEX and
|
||||
CONFIG_ARCH_N5X
|
||||
|
||||
These config options were removed in 4a9a1a5602 ("arm64: socfpga: merge
|
||||
Agilex and N5X into ARCH_INTEL_SOCFPGA"), so remove them from the
|
||||
defconfig.
|
||||
|
||||
Fixes: 4a9a1a5602 ("arm64: socfpga: merge Agilex and N5X into ARCH_INTEL_SOCFPGA")
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
arch/arm64/configs/defconfig | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
||||
index 15595d6db256..257167463b60 100644
|
||||
--- a/arch/arm64/configs/defconfig
|
||||
+++ b/arch/arm64/configs/defconfig
|
||||
@@ -28,8 +28,6 @@ CONFIG_KALLSYMS_ALL=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_ARCH_ACTIONS=y
|
||||
-CONFIG_ARCH_AGILEX=y
|
||||
-CONFIG_ARCH_N5X=y
|
||||
CONFIG_ARCH_SUNXI=y
|
||||
CONFIG_ARCH_ALPINE=y
|
||||
CONFIG_ARCH_APPLE=y
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
||||
From 0931745bfa4e9a8db2885dd20d07426dbaf2fa73 Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@arm.com>
|
||||
Date: Wed, 8 Sep 2021 12:19:33 +0100
|
||||
Subject: [PATCH 5/5] arm64: defconfig: don't set CONFIG_ACPI_APEI_PCIEAER
|
||||
|
||||
Since 8c8ff55 ("PCI/AER: Don't select CONFIG_PCIEAER by default"), PCIe
|
||||
Advanced Error Reporting isn't enabled by default.. As this means just
|
||||
enabling CONFIG_CPI_APEI_PCIEAR does not have an effect, remove it from
|
||||
the defconfig for clarity.
|
||||
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
arch/arm64/configs/defconfig | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
||||
index 257167463b60..f620f31b0323 100644
|
||||
--- a/arch/arm64/configs/defconfig
|
||||
+++ b/arch/arm64/configs/defconfig
|
||||
@@ -110,7 +110,6 @@ CONFIG_IMX_SCU_PD=y
|
||||
CONFIG_ACPI=y
|
||||
CONFIG_ACPI_APEI=y
|
||||
CONFIG_ACPI_APEI_GHES=y
|
||||
-CONFIG_ACPI_APEI_PCIEAER=y
|
||||
CONFIG_ACPI_APEI_MEMORY_FAILURE=y
|
||||
CONFIG_ACPI_APEI_EINJ=y
|
||||
CONFIG_VIRTUALIZATION=y
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -3,9 +3,15 @@ ARMFILESPATHS := "${THISDIR}/${PN}:"
|
||||
COMPATIBLE_MACHINE:generic-arm64 = "generic-arm64"
|
||||
FILESEXTRAPATHS:prepend:generic-arm64 = "${ARMFILESPATHS}"
|
||||
SRC_URI:append:generic-arm64 = " \
|
||||
file://defconfig.patch \
|
||||
file://tcpci.cfg \
|
||||
"
|
||||
|
||||
FILESEXTRAPATHS:prepend:qemuarm64-sbsa = "${ARMFILESPATHS}"
|
||||
SRC_URI:append:qemuarm64-sbsa = " \
|
||||
file://defconfig.patch \
|
||||
"
|
||||
|
||||
FILESEXTRAPATHS:prepend:qemuarm64-secureboot = "${ARMFILESPATHS}"
|
||||
SRC_URI:append:qemuarm64-secureboot = " \
|
||||
file://zone_dma_revert.patch \
|
||||
|
||||
Reference in New Issue
Block a user