Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 1 | From 94a5e7ffe5855272708a94190820534c4f51bdd8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mikko Rapeli <mikko.rapeli@linaro.org> |
| 3 | Date: Tue, 15 Aug 2023 10:36:56 +0300 |
| 4 | Subject: [PATCH] arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y |
| 5 | |
| 6 | There is no code for this config option and enabling it in defconfig |
| 7 | causes warnings from tools which are detecting unused and obsolete |
| 8 | kernel config flags since the flag will be completely missing from |
| 9 | effective build config after "make olddefconfig". |
| 10 | |
| 11 | Fixes yocto kernel recipe build time warning: |
| 12 | |
| 13 | WARNING: [kernel config]: This BSP contains fragments with warnings: |
| 14 | ... |
| 15 | [INFO]: the following symbols were not found in the active |
| 16 | configuration: |
| 17 | - CONFIG_COMMON_CLK_NPCM8XX |
| 18 | |
| 19 | The flag was added with commit 45472f1e5348c7b755b4912f2f529ec81cea044b |
| 20 | v5.19-rc4-15-g45472f1e5348 so 6.1 and 6.4 stable kernel trees are |
| 21 | affected. |
| 22 | |
| 23 | Fixes: 45472f1e5348c7b755b4912f2f529ec81cea044b ("arm64: defconfig: Add Nuvoton NPCM family support") |
| 24 | Cc: stable@kernel.org |
| 25 | Cc: Bruce Ashfield <bruce.ashfield@gmail.com> |
| 26 | Cc: Jon Mason <jon.mason@arm.com> |
| 27 | Cc: Jon Mason <jdmason@kudzu.us> |
| 28 | Cc: Ross Burton <ross@burtonini.com> |
| 29 | Cc: Arnd Bergmann <arnd@arndb.de> |
| 30 | Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> |
| 31 | |
| 32 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
| 33 | Upstream-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 | |
| 39 | diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig |
| 40 | index 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 |