[U-Boot] [PATCH] Update aristainetos board to Kconfig

Stefano Babic sbabic at denx.de
Mon Aug 11 10:24:50 CEST 2014


aristainetos board was merged in u-boot-imx before
Kconfig was integrated, but it is not yet
mainline.

Signed-off-by: Stefano Babic <sbabic at denx.de>
CC: Heiko Schocher <hs at denx.de>
---
 arch/arm/Kconfig               |  4 ++++
 board/aristainetos/Kconfig     | 19 +++++++++++++++++++
 board/aristainetos/MAINTAINERS |  6 ++++++
 configs/aristainetos_defconfig |  3 +++
 4 files changed, 32 insertions(+)
 create mode 100644 board/aristainetos/Kconfig
 create mode 100644 board/aristainetos/MAINTAINERS
 create mode 100644 configs/aristainetos_defconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e385eda..63f8576 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -512,6 +512,9 @@ config TARGET_CGTQMX6EVAL
 config TARGET_EMBESTMX6BOARDS
 	bool "Support embestmx6boards"
 
+config TARGET_ARISTAINETOS
+	bool "Support aristainetos"
+
 config TARGET_MX6QARM2
 	bool "Support mx6qarm2"
 
@@ -773,6 +776,7 @@ config TARGET_JORNADA
 endchoice
 
 source "board/8dtech/eco5pk/Kconfig"
+source "board/aristainetos/Kconfig"
 source "board/Barix/ipam390/Kconfig"
 source "board/BuR/kwb/Kconfig"
 source "board/BuR/tseries/Kconfig"
diff --git a/board/aristainetos/Kconfig b/board/aristainetos/Kconfig
new file mode 100644
index 0000000..58078ea
--- /dev/null
+++ b/board/aristainetos/Kconfig
@@ -0,0 +1,19 @@
+if TARGET_ARISTAINETOS
+
+config SYS_CPU
+	string
+	default "armv7"
+
+config SYS_BOARD
+	string
+	default "aristainetos"
+
+config SYS_SOC
+	string
+	default "mx6"
+
+config SYS_CONFIG_NAME
+	string
+	default "aristainetos"
+
+endif
diff --git a/board/aristainetos/MAINTAINERS b/board/aristainetos/MAINTAINERS
new file mode 100644
index 0000000..d45d423
--- /dev/null
+++ b/board/aristainetos/MAINTAINERS
@@ -0,0 +1,6 @@
+ARISTAINETOS BOARD
+M:	Heiko Schocher <hs at denx.de>
+S:	Maintained
+F:	board/aristainetos/
+F:	include/configs/aristainetos.h
+F:	configs/aristainetos_defconfig
diff --git a/configs/aristainetos_defconfig b/configs/aristainetos_defconfig
new file mode 100644
index 0000000..6541865
--- /dev/null
+++ b/configs/aristainetos_defconfig
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/aristainetos/aristainetos.cfg,MX6DL"
+CONFIG_ARM=y
+CONFIG_TARGET_ARISTAINETOS=y
-- 
1.9.1



More information about the U-Boot mailing list