aboutsummaryrefslogtreecommitdiff
path: root/board/aristainetos
diff options
context:
space:
mode:
authorHeiko Schocher2019-12-01 11:23:06 +0100
committerStefano Babic2020-01-07 10:26:55 +0100
commit3882e6fc019697f511d644261ed2d827c1417480 (patch)
treeccae1400e32531ca03a170091dece727c2a37973 /board/aristainetos
parent79db1b4665d9a1a52c7a4b63f8bcbc6f22c03b3c (diff)
imx6: aristainetos: move defines to Kconfig
move defines, which are already moved to Kconfig out of board config. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/aristainetos')
-rw-r--r--board/aristainetos/Kconfig15
-rw-r--r--board/aristainetos/common/Kconfig38
2 files changed, 52 insertions, 1 deletions
diff --git a/board/aristainetos/Kconfig b/board/aristainetos/Kconfig
index 0341bdfb283..60ad69fa5bc 100644
--- a/board/aristainetos/Kconfig
+++ b/board/aristainetos/Kconfig
@@ -1,19 +1,32 @@
if TARGET_ARISTAINETOS2
+source "board/aristainetos/common/Kconfig"
+
config SYS_BOARD
default "aristainetos"
-config SYS_CONFIG_NAME
+config SYS_BOARD_VERSION
+ default 2
+
+config BOARDNAME
default "aristainetos2"
endif
if TARGET_ARISTAINETOS2B
+source "board/aristainetos/common/Kconfig"
+
config SYS_BOARD
default "aristainetos"
config SYS_CONFIG_NAME
default "aristainetos2b"
+config SYS_BOARD_VERSION
+ default 3
+
+config BOARDNAME
+ default "aristainetos2-revB"
+
endif
diff --git a/board/aristainetos/common/Kconfig b/board/aristainetos/common/Kconfig
new file mode 100644
index 00000000000..53a3f4d5527
--- /dev/null
+++ b/board/aristainetos/common/Kconfig
@@ -0,0 +1,38 @@
+config BOARDNAME
+ string "name of the board"
+ help
+ set the name of the board.
+
+config SYS_BOARD_VERSION
+ int "select version of aristainetos board"
+ help
+ version of aristainetos board version
+ 2 version 2
+ 3 version 2b
+
+config SYS_I2C_MXC_I2C1
+ default y
+
+config SYS_I2C_MXC_I2C2
+ default y
+
+config SYS_I2C_MXC_I2C3
+ default y
+
+config SYS_I2C_MXC_I2C4
+ default y
+
+config SYS_MALLOC_LEN
+ default 0x4000000
+
+config ENV_SIZE
+ default 0x3000
+
+config ENV_SECT_SIZE
+ default 0x10000
+
+config ENV_OFFSET
+ default 0xd0000
+
+config SYS_CONFIG_NAME
+ default "aristainetos2"