[PATCH V4 01/44] arm: imx: add i.MX8ULP basic Kconfig option

Peng Fan (OSS) peng.fan at oss.nxp.com
Wed Jul 21 16:16:42 CEST 2021


From: Peng Fan <peng.fan at nxp.com>

Add i.MX8ULP related basic Kconfig option, which will be used later.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 arch/arm/Kconfig                  | 11 +++++++++++
 arch/arm/mach-imx/imx8ulp/Kconfig | 16 ++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 arch/arm/mach-imx/imx8ulp/Kconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7f493a8e8f..57f5a1eff7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -800,6 +800,15 @@ config ARCH_IMX8M
 	select SUPPORT_SPL
 	imply CMD_DM
 
+config ARCH_IMX8ULP
+	bool "NXP i.MX8ULP platform"
+	select ARM64
+	select DM
+	select OF_CONTROL
+	select SUPPORT_SPL
+	select GPIO_EXTRA_HEADER
+	imply CMD_DM
+
 config ARCH_IMXRT
 	bool "NXP i.MXRT platform"
 	select CPU_V7M
@@ -1979,6 +1988,8 @@ source "arch/arm/mach-imx/imx8/Kconfig"
 
 source "arch/arm/mach-imx/imx8m/Kconfig"
 
+source "arch/arm/mach-imx/imx8ulp/Kconfig"
+
 source "arch/arm/mach-imx/imxrt/Kconfig"
 
 source "arch/arm/mach-imx/mxs/Kconfig"
diff --git a/arch/arm/mach-imx/imx8ulp/Kconfig b/arch/arm/mach-imx/imx8ulp/Kconfig
new file mode 100644
index 0000000000..167dbb3fb1
--- /dev/null
+++ b/arch/arm/mach-imx/imx8ulp/Kconfig
@@ -0,0 +1,16 @@
+if ARCH_IMX8ULP
+
+config IMX8ULP
+	bool
+	select ARMV8_SPL_EXCEPTION_VECTORS
+
+config SYS_SOC
+	default "imx8ulp"
+
+choice
+	prompt "i.MX8ULP board select"
+	optional
+
+endchoice
+
+endif
-- 
2.30.0



More information about the U-Boot mailing list