@@ -668,6 +668,12 @@ config ARCH_MESON
targeted at media players and tablet computers. We currently
support the S905 (GXBaby) 64-bit SoC.
+config ARCH_IMX8
+ bool "NXP i.MX8 platform"
+ select ARM64
+ select DM
+ select OF_CONTROL
+
config ARCH_MX8M
bool "NXP i.MX8M platform"
select ARM64
@@ -1416,6 +1422,8 @@ source "arch/arm/mach-imx/mx7/Kconfig"
source "arch/arm/mach-imx/mx7ulp/Kconfig"
+source "arch/arm/mach-imx/imx8/Kconfig"
+
source "arch/arm/mach-imx/mx8m/Kconfig"
source "arch/arm/mach-imx/mxs/Kconfig"
@@ -141,3 +141,4 @@ obj-$(CONFIG_MX6) += mx6/
obj-$(CONFIG_MX7) += mx7/
obj-$(CONFIG_ARCH_MX7ULP) += mx7ulp/
obj-$(CONFIG_MX8M) += mx8m/
+obj-$(CONFIG_ARCH_IMX8) += imx8/
new file mode 100644
@@ -0,0 +1,13 @@
+if ARCH_IMX8
+
+config IMX8
+ bool
+
+config IMX8QXP
+ select IMX8
+ bool
+
+config SYS_SOC
+ default "imx8"
+
+endif