[PATCH v2] arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y

mikko.rapeli at linaro.org mikko.rapeli at linaro.org
Thu Sep 21 07:57:22 PDT 2023


From: Mikko Rapeli <mikko.rapeli at linaro.org>

There is no code for this config option and enabling it in defconfig
causes warnings from tools which are detecting unused and obsolete
kernel config flags since the flag will be completely missing from
effective build config after "make olddefconfig".

Fixes yocto kernel recipe build time warning:

WARNING: [kernel config]: This BSP contains fragments with warnings:
...
[INFO]: the following symbols were not found in the active
configuration:
     - CONFIG_COMMON_CLK_NPCM8XX

The flag was added with commit 45472f1e5348c7b755b4912f2f529ec81cea044b
v5.19-rc4-15-g45472f1e5348 so 6.1 and 6.4 stable kernel trees are
affected.

Fixes: 45472f1e5348c7b755b4912f2f529ec81cea044b ("arm64: defconfig: Add Nuvoton NPCM family support")
Cc: stable at kernel.org
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Bjorn Andersson <quic_bjorande at quicinc.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Cc: Konrad Dybcio <konrad.dybcio at linaro.org>
Cc: Neil Armstrong <neil.armstrong at linaro.org>
Cc: Tomer Maimon <tmaimon77 at gmail.com>
Cc: Bruce Ashfield <bruce.ashfield at gmail.com>
Cc: Jon Mason <jon.mason at arm.com>
Cc: Jon Mason <jdmason at kudzu.us>
Cc: Ross Burton <ross at burtonini.com>
Cc: Arnd Bergmann <arnd at arndb.de>
Signed-off-by: Mikko Rapeli <mikko.rapeli at linaro.org>
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

v2: sending to soc list, added maintainers to Cc after discussion with Arnd

v1: https://lore.kernel.org/linux-arm-kernel/20230815073656.507651-1-mikko.rapeli@linaro.org/

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5315789f4868..24531891c7be 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1175,7 +1175,6 @@ CONFIG_COMMON_CLK_S2MPS11=y
 CONFIG_COMMON_CLK_PWM=y
 CONFIG_COMMON_CLK_RS9_PCIE=y
 CONFIG_COMMON_CLK_VC5=y
-CONFIG_COMMON_CLK_NPCM8XX=y
 CONFIG_COMMON_CLK_BD718XX=m
 CONFIG_CLK_RASPBERRYPI=m
 CONFIG_CLK_IMX8MM=y
-- 
2.34.1




More information about the linux-arm-kernel mailing list