[U-Boot] [PATCH v2 2/3] ARM: iMX: define an IMX_CONFIG Kconfig option

Boris Brezillon boris.brezillon at free-electrons.com
Wed Mar 4 13:13:04 CET 2015


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 at free-electrons.com>
---
 arch/arm/Kconfig            | 2 ++
 arch/arm/imx-common/Kconfig | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100644 arch/arm/imx-common/Kconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7984bef..429a6cc 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -877,6 +877,8 @@ source "arch/arm/cpu/armv7/zynq/Kconfig"
 
 source "arch/arm/cpu/armv7/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
index 0000000..37b3752
--- /dev/null
+++ b/arch/arm/imx-common/Kconfig
@@ -0,0 +1,2 @@
+config IMX_CONFIG
+	string
-- 
1.9.1



More information about the U-Boot mailing list