浏览代码

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>
Stefano Babic 10 年之前
父节点
当前提交
7e9291720d
共有 4 个文件被更改,包括 32 次插入0 次删除
  1. 4 0
      arch/arm/Kconfig
  2. 19 0
      board/aristainetos/Kconfig
  3. 6 0
      board/aristainetos/MAINTAINERS
  4. 3 0
      configs/aristainetos_defconfig

+ 4 - 0
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"

+ 19 - 0
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

+ 6 - 0
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

+ 3 - 0
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