diff mbox

[U-Boot] Update aristainetos board to Kconfig

Message ID 1407745490-1098-1-git-send-email-sbabic@denx.de
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Stefano Babic Aug. 11, 2014, 8:24 a.m. UTC
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>
---
 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

Comments

Heiko Schocher Aug. 11, 2014, 8:42 a.m. UTC | #1
Hello Stefano,

Am 11.08.2014 10:24, schrieb Stefano Babic:
> 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>
> ---
>   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

Thanks!

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
diff mbox

Patch

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@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