blob: bff81dfcc6c4c6f8e2373650f3b84734adcf2271 [file] [log] [blame]
Andrew Geissler2edf0642023-09-11 08:24:07 -04001From 94a5e7ffe5855272708a94190820534c4f51bdd8 Mon Sep 17 00:00:00 2001
2From: Mikko Rapeli <mikko.rapeli@linaro.org>
3Date: Tue, 15 Aug 2023 10:36:56 +0300
4Subject: [PATCH] arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y
5
6There is no code for this config option and enabling it in defconfig
7causes warnings from tools which are detecting unused and obsolete
8kernel config flags since the flag will be completely missing from
9effective build config after "make olddefconfig".
10
11Fixes yocto kernel recipe build time warning:
12
13WARNING: [kernel config]: This BSP contains fragments with warnings:
14...
15[INFO]: the following symbols were not found in the active
16configuration:
17 - CONFIG_COMMON_CLK_NPCM8XX
18
19The flag was added with commit 45472f1e5348c7b755b4912f2f529ec81cea044b
20v5.19-rc4-15-g45472f1e5348 so 6.1 and 6.4 stable kernel trees are
21affected.
22
23Fixes: 45472f1e5348c7b755b4912f2f529ec81cea044b ("arm64: defconfig: Add Nuvoton NPCM family support")
24Cc: stable@kernel.org
25Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
26Cc: Jon Mason <jon.mason@arm.com>
27Cc: Jon Mason <jdmason@kudzu.us>
28Cc: Ross Burton <ross@burtonini.com>
29Cc: Arnd Bergmann <arnd@arndb.de>
30Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
31
32Signed-off-by: Jon Mason <jon.mason@arm.com>
33Upstream-Status: Submitted [https://lists.infradead.org/pipermail/linux-arm-kernel/2023-August/859760.html]
34
35---
36 arch/arm64/configs/defconfig | 1 -
37 1 file changed, 1 deletion(-)
38
39diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
40index 0777bcae9104..1cf24537fda2 100644
41--- a/arch/arm64/configs/defconfig
42+++ b/arch/arm64/configs/defconfig
43@@ -1146,7 +1146,6 @@ CONFIG_COMMON_CLK_S2MPS11=y
44 CONFIG_COMMON_CLK_PWM=y
45 CONFIG_COMMON_CLK_RS9_PCIE=y
46 CONFIG_COMMON_CLK_VC5=y
47-CONFIG_COMMON_CLK_NPCM8XX=y
48 CONFIG_COMMON_CLK_BD718XX=m
49 CONFIG_CLK_RASPBERRYPI=m
50 CONFIG_CLK_IMX8MM=y