From dd84058d24ff54d6b32818ffe44aeb4bba2cfae6 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 30 Jul 2014 14:08:14 +0900 Subject: 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 Acked-by: Simon Glass --- board/tqc/tqm5200/Kconfig | 63 ++++++++++ board/tqc/tqm8260/Kconfig | 15 +++ board/tqc/tqm8272/Kconfig | 15 +++ board/tqc/tqm834x/Kconfig | 15 +++ board/tqc/tqm8xx/Kconfig | 287 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 395 insertions(+) create mode 100644 board/tqc/tqm5200/Kconfig create mode 100644 board/tqc/tqm8260/Kconfig create mode 100644 board/tqc/tqm8272/Kconfig create mode 100644 board/tqc/tqm834x/Kconfig create mode 100644 board/tqc/tqm8xx/Kconfig (limited to 'board/tqc') diff --git a/board/tqc/tqm5200/Kconfig b/board/tqc/tqm5200/Kconfig new file mode 100644 index 0000000000..c692196550 --- /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 0000000000..0cf80ddb80 --- /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 0000000000..9be43d3bae --- /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 0000000000..cd2e817a4e --- /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 0000000000..5700d22162 --- /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 -- cgit v1.2.1