From 7e9291720d2b8b6c2f6ea494f7a3c42a875dbc73 Mon Sep 17 00:00:00 2001
From: Stefano Babic <sbabic@denx.de>
Date: Mon, 11 Aug 2014 10:18:41 +0200
Subject: [PATCH] Update aristainetos board to Kconfig

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

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@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 e385eda94cd..63f8576aa3a 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 00000000000..58078eacf55
--- /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 00000000000..d45d4236c62
--- /dev/null
+++ b/board/aristainetos/MAINTAINERS
@@ -0,0 +1,6 @@
+ARISTAINETOS BOARD
+M:	Heiko Schocher <hs@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 00000000000..6541865b7ce
--- /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
-- 
GitLab