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/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