imx: add Kconfig entry for i.MX8QXP
authorPeng Fan <peng.fan@nxp.com>
Thu, 18 Oct 2018 12:28:08 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 10:59:01 +0000 (12:59 +0200)
Add Kconfig entry for i.MX8QXP

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/imx8/Kconfig [new file with mode: 0644]

index ccf2a84..4f597b7 100644 (file)
@@ -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
@@ -1407,6 +1413,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"
index 9b00074..d6dcbe0 100644 (file)
@@ -143,3 +143,4 @@ obj-$(CONFIG_MX6) += mx6/
 obj-$(CONFIG_MX7) += mx7/
 obj-$(CONFIG_ARCH_MX7ULP) += mx7ulp/
 obj-$(CONFIG_MX8M) += mx8m/
+obj-$(CONFIG_ARCH_IMX8) += imx8/
diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig
new file mode 100644 (file)
index 0000000..28910c1
--- /dev/null
@@ -0,0 +1,13 @@
+if ARCH_IMX8
+
+config IMX8
+       bool
+
+config IMX8QXP
+       select IMX8
+       bool
+
+config SYS_SOC
+       default "imx8"
+
+endif