ARM: iMX: define an IMX_CONFIG Kconfig option
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 4 Mar 2015 12:13:04 +0000 (13:13 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Mar 2015 12:19:17 +0000 (13:19 +0100)
IMX_CONFIG is currently passed via the SYS_EXTRA_OPTIONS which is marked
as deprecated.

Add a new Kconfig file under arch/arm/imx-common and define the
IMX_CONFIG Kconfig in there.

Each board is supposed to provide a default value pointing to the
appropriate imximage.cfg file.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
arch/arm/Kconfig
arch/arm/imx-common/Kconfig [new file with mode: 0644]

index 2145557587830f4a66381d764cf283164d5de548..c0a0fd842a0ba912d70c34d95f2fd5842df02a59 100644 (file)
@@ -767,6 +767,8 @@ source "arch/arm/cpu/armv7/Kconfig"
 
 source "arch/arm/cpu/armv8/Kconfig"
 
+source "arch/arm/imx-common/Kconfig"
+
 source "board/aristainetos/Kconfig"
 source "board/BuR/kwb/Kconfig"
 source "board/BuR/tseries/Kconfig"
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
new file mode 100644 (file)
index 0000000..37b3752
--- /dev/null
@@ -0,0 +1,2 @@
+config IMX_CONFIG
+       string