summaryrefslogtreecommitdiff
path: root/board/atmel
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-07-30 14:08:14 +0900
committerTom Rini <trini@ti.com>2014-07-30 08:48:01 -0400
commitdd84058d24ff54d6b32818ffe44aeb4bba2cfae6 (patch)
tree40ccd709d1c0ada01996d6f5e2d1ad870f70650e /board/atmel
parent0a9064fb47bb0a239c04b0b63edebfdd3a201fdc (diff)
kconfig: add board Kconfig and defconfig files
This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board (This commit was automatically generated by a conversion script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command line for cross compile. But in U-Boot, ARCH is not given from the command line. Which means we cannot know ARCH until the board configuration is done. That is why all the "*_defconfig" files should be gathered into a single directory ./configs/. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/atmel')
-rw-r--r--board/atmel/at91rm9200ek/Kconfig23
-rw-r--r--board/atmel/at91sam9260ek/Kconfig23
-rw-r--r--board/atmel/at91sam9261ek/Kconfig23
-rw-r--r--board/atmel/at91sam9263ek/Kconfig23
-rw-r--r--board/atmel/at91sam9m10g45ek/Kconfig23
-rw-r--r--board/atmel/at91sam9n12ek/Kconfig23
-rw-r--r--board/atmel/at91sam9rlek/Kconfig23
-rw-r--r--board/atmel/at91sam9x5ek/Kconfig23
-rw-r--r--board/atmel/atngw100/Kconfig19
-rw-r--r--board/atmel/atngw100mkii/Kconfig19
-rw-r--r--board/atmel/atstk1000/Kconfig79
-rw-r--r--board/atmel/sama5d3_xplained/Kconfig23
-rw-r--r--board/atmel/sama5d3xek/Kconfig23
13 files changed, 347 insertions, 0 deletions
diff --git a/board/atmel/at91rm9200ek/Kconfig b/board/atmel/at91rm9200ek/Kconfig
new file mode 100644
index 00000000000..d7ee4f49fdb
--- /dev/null
+++ b/board/atmel/at91rm9200ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91RM9200EK
+
+config SYS_CPU
+ string
+ default "arm920t"
+
+config SYS_BOARD
+ string
+ default "at91rm9200ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91rm9200ek"
+
+endif
diff --git a/board/atmel/at91sam9260ek/Kconfig b/board/atmel/at91sam9260ek/Kconfig
new file mode 100644
index 00000000000..14af5bcd407
--- /dev/null
+++ b/board/atmel/at91sam9260ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9260EK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9260ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9260ek"
+
+endif
diff --git a/board/atmel/at91sam9261ek/Kconfig b/board/atmel/at91sam9261ek/Kconfig
new file mode 100644
index 00000000000..63dcdd8da08
--- /dev/null
+++ b/board/atmel/at91sam9261ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9261EK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9261ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9261ek"
+
+endif
diff --git a/board/atmel/at91sam9263ek/Kconfig b/board/atmel/at91sam9263ek/Kconfig
new file mode 100644
index 00000000000..fa0a58acb5b
--- /dev/null
+++ b/board/atmel/at91sam9263ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9263EK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9263ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9263ek"
+
+endif
diff --git a/board/atmel/at91sam9m10g45ek/Kconfig b/board/atmel/at91sam9m10g45ek/Kconfig
new file mode 100644
index 00000000000..8567f95753b
--- /dev/null
+++ b/board/atmel/at91sam9m10g45ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9M10G45EK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9m10g45ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9m10g45ek"
+
+endif
diff --git a/board/atmel/at91sam9n12ek/Kconfig b/board/atmel/at91sam9n12ek/Kconfig
new file mode 100644
index 00000000000..4fc714b1b28
--- /dev/null
+++ b/board/atmel/at91sam9n12ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9N12EK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9n12ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9n12ek"
+
+endif
diff --git a/board/atmel/at91sam9rlek/Kconfig b/board/atmel/at91sam9rlek/Kconfig
new file mode 100644
index 00000000000..178f80dc041
--- /dev/null
+++ b/board/atmel/at91sam9rlek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9RLEK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9rlek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9rlek"
+
+endif
diff --git a/board/atmel/at91sam9x5ek/Kconfig b/board/atmel/at91sam9x5ek/Kconfig
new file mode 100644
index 00000000000..0a0b132138c
--- /dev/null
+++ b/board/atmel/at91sam9x5ek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_AT91SAM9X5EK
+
+config SYS_CPU
+ string
+ default "arm926ejs"
+
+config SYS_BOARD
+ string
+ default "at91sam9x5ek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "at91sam9x5ek"
+
+endif
diff --git a/board/atmel/atngw100/Kconfig b/board/atmel/atngw100/Kconfig
new file mode 100644
index 00000000000..a966b31830d
--- /dev/null
+++ b/board/atmel/atngw100/Kconfig
@@ -0,0 +1,19 @@
+if TARGET_ATNGW100
+
+config SYS_BOARD
+ string
+ default "atngw100"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at32ap700x"
+
+config SYS_CONFIG_NAME
+ string
+ default "atngw100"
+
+endif
diff --git a/board/atmel/atngw100mkii/Kconfig b/board/atmel/atngw100mkii/Kconfig
new file mode 100644
index 00000000000..dcea07ec02f
--- /dev/null
+++ b/board/atmel/atngw100mkii/Kconfig
@@ -0,0 +1,19 @@
+if TARGET_ATNGW100MKII
+
+config SYS_BOARD
+ string
+ default "atngw100mkii"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at32ap700x"
+
+config SYS_CONFIG_NAME
+ string
+ default "atngw100mkii"
+
+endif
diff --git a/board/atmel/atstk1000/Kconfig b/board/atmel/atstk1000/Kconfig
new file mode 100644
index 00000000000..1a24409c6e8
--- /dev/null
+++ b/board/atmel/atstk1000/Kconfig
@@ -0,0 +1,79 @@
+if TARGET_ATSTK1002
+
+config SYS_BOARD
+ string
+ default "atstk1000"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at32ap700x"
+
+config SYS_CONFIG_NAME
+ string
+ default "atstk1002"
+
+endif
+
+if TARGET_ATSTK1003
+
+config SYS_BOARD
+ string
+ default "atstk1000"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at32ap700x"
+
+config SYS_CONFIG_NAME
+ string
+ default "atstk1003"
+
+endif
+
+if TARGET_ATSTK1004
+
+config SYS_BOARD
+ string
+ default "atstk1000"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at32ap700x"
+
+config SYS_CONFIG_NAME
+ string
+ default "atstk1004"
+
+endif
+
+if TARGET_ATSTK1006
+
+config SYS_BOARD
+ string
+ default "atstk1000"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at32ap700x"
+
+config SYS_CONFIG_NAME
+ string
+ default "atstk1006"
+
+endif
diff --git a/board/atmel/sama5d3_xplained/Kconfig b/board/atmel/sama5d3_xplained/Kconfig
new file mode 100644
index 00000000000..603b2411bae
--- /dev/null
+++ b/board/atmel/sama5d3_xplained/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_SAMA5D3_XPLAINED
+
+config SYS_CPU
+ string
+ default "armv7"
+
+config SYS_BOARD
+ string
+ default "sama5d3_xplained"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "sama5d3_xplained"
+
+endif
diff --git a/board/atmel/sama5d3xek/Kconfig b/board/atmel/sama5d3xek/Kconfig
new file mode 100644
index 00000000000..5b4eb6f25dc
--- /dev/null
+++ b/board/atmel/sama5d3xek/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_SAMA5D3XEK
+
+config SYS_CPU
+ string
+ default "armv7"
+
+config SYS_BOARD
+ string
+ default "sama5d3xek"
+
+config SYS_VENDOR
+ string
+ default "atmel"
+
+config SYS_SOC
+ string
+ default "at91"
+
+config SYS_CONFIG_NAME
+ string
+ default "sama5d3xek"
+
+endif