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>
diff --git a/board/amcc/acadia/Kconfig b/board/amcc/acadia/Kconfig
new file mode 100644
index 0000000..096f02e
--- /dev/null
+++ b/board/amcc/acadia/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_ACADIA
+
+config SYS_BOARD
+ string
+ default "acadia"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "acadia"
+
+endif
diff --git a/board/amcc/bamboo/Kconfig b/board/amcc/bamboo/Kconfig
new file mode 100644
index 0000000..a002cfa
--- /dev/null
+++ b/board/amcc/bamboo/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_BAMBOO
+
+config SYS_BOARD
+ string
+ default "bamboo"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "bamboo"
+
+endif
diff --git a/board/amcc/bluestone/Kconfig b/board/amcc/bluestone/Kconfig
new file mode 100644
index 0000000..2f5999d
--- /dev/null
+++ b/board/amcc/bluestone/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_BLUESTONE
+
+config SYS_BOARD
+ string
+ default "bluestone"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "bluestone"
+
+endif
diff --git a/board/amcc/bubinga/Kconfig b/board/amcc/bubinga/Kconfig
new file mode 100644
index 0000000..29f769b
--- /dev/null
+++ b/board/amcc/bubinga/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_BUBINGA
+
+config SYS_BOARD
+ string
+ default "bubinga"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "bubinga"
+
+endif
diff --git a/board/amcc/canyonlands/Kconfig b/board/amcc/canyonlands/Kconfig
new file mode 100644
index 0000000..545056a
--- /dev/null
+++ b/board/amcc/canyonlands/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_CANYONLANDS
+
+config SYS_BOARD
+ string
+ default "canyonlands"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "canyonlands"
+
+endif
diff --git a/board/amcc/ebony/Kconfig b/board/amcc/ebony/Kconfig
new file mode 100644
index 0000000..cc1448f
--- /dev/null
+++ b/board/amcc/ebony/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_EBONY
+
+config SYS_BOARD
+ string
+ default "ebony"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "ebony"
+
+endif
diff --git a/board/amcc/katmai/Kconfig b/board/amcc/katmai/Kconfig
new file mode 100644
index 0000000..2a8d783
--- /dev/null
+++ b/board/amcc/katmai/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_KATMAI
+
+config SYS_BOARD
+ string
+ default "katmai"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "katmai"
+
+endif
diff --git a/board/amcc/kilauea/Kconfig b/board/amcc/kilauea/Kconfig
new file mode 100644
index 0000000..3564cc3
--- /dev/null
+++ b/board/amcc/kilauea/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_KILAUEA
+
+config SYS_BOARD
+ string
+ default "kilauea"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "kilauea"
+
+endif
diff --git a/board/amcc/luan/Kconfig b/board/amcc/luan/Kconfig
new file mode 100644
index 0000000..7f19980
--- /dev/null
+++ b/board/amcc/luan/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_LUAN
+
+config SYS_BOARD
+ string
+ default "luan"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "luan"
+
+endif
diff --git a/board/amcc/makalu/Kconfig b/board/amcc/makalu/Kconfig
new file mode 100644
index 0000000..7f95bdc
--- /dev/null
+++ b/board/amcc/makalu/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_MAKALU
+
+config SYS_BOARD
+ string
+ default "makalu"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "makalu"
+
+endif
diff --git a/board/amcc/ocotea/Kconfig b/board/amcc/ocotea/Kconfig
new file mode 100644
index 0000000..5eaf812
--- /dev/null
+++ b/board/amcc/ocotea/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_OCOTEA
+
+config SYS_BOARD
+ string
+ default "ocotea"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "ocotea"
+
+endif
diff --git a/board/amcc/redwood/Kconfig b/board/amcc/redwood/Kconfig
new file mode 100644
index 0000000..001d400
--- /dev/null
+++ b/board/amcc/redwood/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_REDWOOD
+
+config SYS_BOARD
+ string
+ default "redwood"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "redwood"
+
+endif
diff --git a/board/amcc/sequoia/Kconfig b/board/amcc/sequoia/Kconfig
new file mode 100644
index 0000000..ddcaced
--- /dev/null
+++ b/board/amcc/sequoia/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_SEQUOIA
+
+config SYS_BOARD
+ string
+ default "sequoia"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "sequoia"
+
+endif
diff --git a/board/amcc/taihu/Kconfig b/board/amcc/taihu/Kconfig
new file mode 100644
index 0000000..8411a82
--- /dev/null
+++ b/board/amcc/taihu/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_TAIHU
+
+config SYS_BOARD
+ string
+ default "taihu"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "taihu"
+
+endif
diff --git a/board/amcc/taishan/Kconfig b/board/amcc/taishan/Kconfig
new file mode 100644
index 0000000..0022063
--- /dev/null
+++ b/board/amcc/taishan/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_TAISHAN
+
+config SYS_BOARD
+ string
+ default "taishan"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "taishan"
+
+endif
diff --git a/board/amcc/walnut/Kconfig b/board/amcc/walnut/Kconfig
new file mode 100644
index 0000000..f98cec5
--- /dev/null
+++ b/board/amcc/walnut/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_WALNUT
+
+config SYS_BOARD
+ string
+ default "walnut"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "walnut"
+
+endif
diff --git a/board/amcc/yosemite/Kconfig b/board/amcc/yosemite/Kconfig
new file mode 100644
index 0000000..8aa62c0
--- /dev/null
+++ b/board/amcc/yosemite/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_YOSEMITE
+
+config SYS_BOARD
+ string
+ default "yosemite"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "yosemite"
+
+endif
diff --git a/board/amcc/yucca/Kconfig b/board/amcc/yucca/Kconfig
new file mode 100644
index 0000000..945333f
--- /dev/null
+++ b/board/amcc/yucca/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_YUCCA
+
+config SYS_BOARD
+ string
+ default "yucca"
+
+config SYS_VENDOR
+ string
+ default "amcc"
+
+config SYS_CONFIG_NAME
+ string
+ default "yucca"
+
+endif