[PATCH 4/8] nxp: Rename board/freescale/common/Kconfig to arch/Kconfig.nxp

Tom Rini trini at konsulko.com
Thu Jun 16 20:04:36 CEST 2022


Now that board/freescale/common/Kconfig is safe to be included once,
globally, rename this to arch/Kconfig.nxp to better reflect that it
contains options that are valid on multiple architectures and SoC
families, and not specific to NXP reference platforms either.

Cc: Stefano Babic <sbabic at denx.de>
Cc: Peng Fan <peng.fan at nxp.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/Kconfig                                       | 7 ++++++-
 board/freescale/common/Kconfig => arch/Kconfig.nxp | 0
 2 files changed, 6 insertions(+), 1 deletion(-)
 rename board/freescale/common/Kconfig => arch/Kconfig.nxp (100%)

diff --git a/arch/Kconfig b/arch/Kconfig
index b7f9d644ef28..dccae0f673a6 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -446,5 +446,10 @@ source "arch/x86/Kconfig"
 source "arch/xtensa/Kconfig"
 source "arch/riscv/Kconfig"
 
-source "board/freescale/common/Kconfig"
+if ARM || M68K || PPC
+
+source "arch/Kconfig.nxp"
+
+endif
+
 source "board/keymile/Kconfig"
diff --git a/board/freescale/common/Kconfig b/arch/Kconfig.nxp
similarity index 100%
rename from board/freescale/common/Kconfig
rename to arch/Kconfig.nxp
-- 
2.25.1



More information about the U-Boot mailing list