Skip to contentSkip to conversation

arm/linux-yocto: avoid kernel defconfig warning

PATCH Applied Jon Mason 2 participants 2 messages Feb 4, 2023 – Feb 5, 2023

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 arm/linux-yocto: avoid kernel defconfig warning

2 symbols were added to the arm64 kernel defconfig without the corresponding code. Remove these unnecessary pieces to avoid the warning.

---
 ...4-defconfig-Enable-Tegra-MGBE-driver.patch | 28 ++++++++++++
 ...config-Add-Nuvoton-NPCM-family-suppo.patch | 45 +++++++++++++++++++
 .../linux/linux-yocto_%.bbappend              |  5 +++
 3 files changed, 78 insertions(+)
 create mode 100644 meta-arm/recipes-kernel/linux/files/0001-Revert-arm64-defconfig-Enable-Tegra-MGBE-driver.patch
 create mode 100644 meta-arm/recipes-kernel/linux/files/0002-Revert-arm64-defconfig-Add-Nuvoton-NPCM-family-suppo.patch
meta-arm/recipes-kernel/linux/files/0001-Revert-arm64-defconfig-Enable-Tegra-MGBE-driver.patch new file +28 -0
new file mode 100644
index 00000000..995bc2c5
@@ -0,0 +1,28 @@
+From 7bc0bae10b0f21cfc8df23848844b66bf1b4d751 Mon Sep 17 00:00:00 2001
+From: Jon Mason <[email protected]>
+Date: Fri, 3 Feb 2023 05:16:43 -0500
+Subject: [PATCH 1/2] Revert "arm64: defconfig: Enable Tegra MGBE driver"
+
+This reverts commit 4cac4de4b05f0a1d5920d12278bf8787011661d3.
+
+Signed-off-by: Jon Mason <[email protected]>
+Upstream-Status: Inappropriate
+---
+ arch/arm64/configs/defconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
+index 0b6af3348e79..70919b241469 100644
+--- a/arch/arm64/configs/defconfig
++++ b/arch/arm64/configs/defconfig
+@@ -362,7 +362,6 @@ CONFIG_SMSC911X=y
+ CONFIG_SNI_AVE=y
+ CONFIG_SNI_NETSEC=y
+ CONFIG_STMMAC_ETH=m
+-CONFIG_DWMAC_TEGRA=m
+ CONFIG_TI_K3_AM65_CPSW_NUSS=y
+ CONFIG_QCOM_IPA=m
+ CONFIG_MESON_GXL_PHY=m
+-- 
+2.30.2
+
meta-arm/recipes-kernel/linux/files/0002-Revert-arm64-defconfig-Add-Nuvoton-NPCM-family-suppo.patch new file +45 -0

45 lines not on this page · raw message

meta-arm/recipes-kernel/linux/linux-yocto_%.bbappend +5 -0
index a641ec2d..24154275 100644
@@ -3,9 +3,14 @@ ARMFILESPATHS := "${THISDIR}/files:"
 COMPATIBLE_MACHINE:generic-arm64 = "generic-arm64"
 FILESEXTRAPATHS:prepend:generic-arm64 = "${ARMFILESPATHS}"
 SRC_URI:append:generic-arm64 =" \
+    file://0001-Revert-arm64-defconfig-Enable-Tegra-MGBE-driver.patch \
+    file://0002-Revert-arm64-defconfig-Add-Nuvoton-NPCM-family-suppo.patch \
     file://generic-arm64-kmeta;type=kmeta;destsuffix=generic-arm64-kmeta \
     "
 
+
+
+
 FILESEXTRAPATHS:prepend:qemuarm64-secureboot = "${ARMFILESPATHS}"
 SRC_URI:append:qemuarm64-secureboot = " \
     file://tee.cfg \
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 3 lines · Jon Mason

2 symbols were added to the arm64 kernel defconfig without the corresponding code. Remove these unnecessary pieces to avoid the warning.

Applied, thanks!

[1/1] arm/linux-yocto: avoid kernel defconfig warning

      commit: dc10b73cc54fccbe781992b5b1eaf61cffbe07e6

Best regards,

Signature · 1 line
Jon Mason <[email protected]>