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/tqc/tqm5200/Kconfig b/board/tqc/tqm5200/Kconfig
new file mode 100644
index 0000000..c692196
--- /dev/null
+++ b/board/tqc/tqm5200/Kconfig
@@ -0,0 +1,63 @@
+if TARGET_AEV
+
+config SYS_BOARD
+ string
+ default "tqm5200"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "aev"
+
+endif
+
+if TARGET_CHARON
+
+config SYS_BOARD
+ string
+ default "tqm5200"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "charon"
+
+endif
+
+if TARGET_TB5200
+
+config SYS_BOARD
+ string
+ default "tqm5200"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TB5200"
+
+endif
+
+if TARGET_TQM5200
+
+config SYS_BOARD
+ string
+ default "tqm5200"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM5200"
+
+endif
diff --git a/board/tqc/tqm8260/Kconfig b/board/tqc/tqm8260/Kconfig
new file mode 100644
index 0000000..0cf80dd
--- /dev/null
+++ b/board/tqc/tqm8260/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_TQM8260
+
+config SYS_BOARD
+ string
+ default "tqm8260"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM8260"
+
+endif
diff --git a/board/tqc/tqm8272/Kconfig b/board/tqc/tqm8272/Kconfig
new file mode 100644
index 0000000..9be43d3
--- /dev/null
+++ b/board/tqc/tqm8272/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_TQM8272
+
+config SYS_BOARD
+ string
+ default "tqm8272"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM8272"
+
+endif
diff --git a/board/tqc/tqm834x/Kconfig b/board/tqc/tqm834x/Kconfig
new file mode 100644
index 0000000..cd2e817
--- /dev/null
+++ b/board/tqc/tqm834x/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_TQM834X
+
+config SYS_BOARD
+ string
+ default "tqm834x"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM834x"
+
+endif
diff --git a/board/tqc/tqm8xx/Kconfig b/board/tqc/tqm8xx/Kconfig
new file mode 100644
index 0000000..5700d22
--- /dev/null
+++ b/board/tqc/tqm8xx/Kconfig
@@ -0,0 +1,287 @@
+if TARGET_FPS850L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "FPS850L"
+
+endif
+
+if TARGET_FPS860L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "FPS860L"
+
+endif
+
+if TARGET_NSCU
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "NSCU"
+
+endif
+
+if TARGET_SM850
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "SM850"
+
+endif
+
+if TARGET_TK885D
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TK885D"
+
+endif
+
+if TARGET_TQM823L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM823L"
+
+endif
+
+if TARGET_TQM823M
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM823M"
+
+endif
+
+if TARGET_TQM850L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM850L"
+
+endif
+
+if TARGET_TQM850M
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM850M"
+
+endif
+
+if TARGET_TQM855L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM855L"
+
+endif
+
+if TARGET_TQM855M
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM855M"
+
+endif
+
+if TARGET_TQM860L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM860L"
+
+endif
+
+if TARGET_TQM860M
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM860M"
+
+endif
+
+if TARGET_TQM862L
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM862L"
+
+endif
+
+if TARGET_TQM862M
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM862M"
+
+endif
+
+if TARGET_TQM866M
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM866M"
+
+endif
+
+if TARGET_TQM885D
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "TQM885D"
+
+endif
+
+if TARGET_VIRTLAB2
+
+config SYS_BOARD
+ string
+ default "tqm8xx"
+
+config SYS_VENDOR
+ string
+ default "tqc"
+
+config SYS_CONFIG_NAME
+ string
+ default "virtlab2"
+
+endif