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/ti/am335x/Kconfig | 23 ++++++++++++++ board/ti/am3517crane/Kconfig | 23 ++++++++++++++ board/ti/am43xx/Kconfig | 23 ++++++++++++++ board/ti/beagle/Kconfig | 23 ++++++++++++++ board/ti/dra7xx/Kconfig | 23 ++++++++++++++ board/ti/evm/Kconfig | 71 +++++++++++++++++++++++++++++++++++++++++++ board/ti/ks2_evm/Kconfig | 47 ++++++++++++++++++++++++++++ board/ti/omap5912osk/Kconfig | 23 ++++++++++++++ board/ti/omap5_uevm/Kconfig | 23 ++++++++++++++ board/ti/panda/Kconfig | 23 ++++++++++++++ board/ti/sdp3430/Kconfig | 23 ++++++++++++++ board/ti/sdp4430/Kconfig | 23 ++++++++++++++ board/ti/ti814x/Kconfig | 23 ++++++++++++++ board/ti/ti816x/Kconfig | 23 ++++++++++++++ board/ti/tnetv107xevm/Kconfig | 23 ++++++++++++++ 15 files changed, 417 insertions(+) create mode 100644 board/ti/am335x/Kconfig create mode 100644 board/ti/am3517crane/Kconfig create mode 100644 board/ti/am43xx/Kconfig create mode 100644 board/ti/beagle/Kconfig create mode 100644 board/ti/dra7xx/Kconfig create mode 100644 board/ti/evm/Kconfig create mode 100644 board/ti/ks2_evm/Kconfig create mode 100644 board/ti/omap5912osk/Kconfig create mode 100644 board/ti/omap5_uevm/Kconfig create mode 100644 board/ti/panda/Kconfig create mode 100644 board/ti/sdp3430/Kconfig create mode 100644 board/ti/sdp4430/Kconfig create mode 100644 board/ti/ti814x/Kconfig create mode 100644 board/ti/ti816x/Kconfig create mode 100644 board/ti/tnetv107xevm/Kconfig (limited to 'board/ti') diff --git a/board/ti/am335x/Kconfig b/board/ti/am335x/Kconfig new file mode 100644 index 0000000..c3b61af --- /dev/null +++ b/board/ti/am335x/Kconfig @@ -0,0 +1,23 @@ +if TARGET_AM335X_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "am335x" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "am33xx" + +config SYS_CONFIG_NAME + string + default "am335x_evm" + +endif diff --git a/board/ti/am3517crane/Kconfig b/board/ti/am3517crane/Kconfig new file mode 100644 index 0000000..fdb20ab --- /dev/null +++ b/board/ti/am3517crane/Kconfig @@ -0,0 +1,23 @@ +if TARGET_AM3517_CRANE + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "am3517crane" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap3" + +config SYS_CONFIG_NAME + string + default "am3517_crane" + +endif diff --git a/board/ti/am43xx/Kconfig b/board/ti/am43xx/Kconfig new file mode 100644 index 0000000..3c61ec1 --- /dev/null +++ b/board/ti/am43xx/Kconfig @@ -0,0 +1,23 @@ +if TARGET_AM43XX_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "am43xx" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "am33xx" + +config SYS_CONFIG_NAME + string + default "am43xx_evm" + +endif diff --git a/board/ti/beagle/Kconfig b/board/ti/beagle/Kconfig new file mode 100644 index 0000000..15dccdf --- /dev/null +++ b/board/ti/beagle/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OMAP3_BEAGLE + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "beagle" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap3" + +config SYS_CONFIG_NAME + string + default "omap3_beagle" + +endif diff --git a/board/ti/dra7xx/Kconfig b/board/ti/dra7xx/Kconfig new file mode 100644 index 0000000..4b13ef4 --- /dev/null +++ b/board/ti/dra7xx/Kconfig @@ -0,0 +1,23 @@ +if TARGET_DRA7XX_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "dra7xx" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap5" + +config SYS_CONFIG_NAME + string + default "dra7xx_evm" + +endif diff --git a/board/ti/evm/Kconfig b/board/ti/evm/Kconfig new file mode 100644 index 0000000..e342942 --- /dev/null +++ b/board/ti/evm/Kconfig @@ -0,0 +1,71 @@ +if TARGET_OMAP3_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "evm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap3" + +config SYS_CONFIG_NAME + string + default "omap3_evm" + +endif + +if TARGET_OMAP3_EVM_QUICK_MMC + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "evm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap3" + +config SYS_CONFIG_NAME + string + default "omap3_evm_quick_mmc" + +endif + +if TARGET_OMAP3_EVM_QUICK_NAND + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "evm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap3" + +config SYS_CONFIG_NAME + string + default "omap3_evm_quick_nand" + +endif diff --git a/board/ti/ks2_evm/Kconfig b/board/ti/ks2_evm/Kconfig new file mode 100644 index 0000000..7890b30 --- /dev/null +++ b/board/ti/ks2_evm/Kconfig @@ -0,0 +1,47 @@ +if TARGET_K2E_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "ks2_evm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "keystone" + +config SYS_CONFIG_NAME + string + default "k2e_evm" + +endif + +if TARGET_K2HK_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "ks2_evm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "keystone" + +config SYS_CONFIG_NAME + string + default "k2hk_evm" + +endif diff --git a/board/ti/omap5912osk/Kconfig b/board/ti/omap5912osk/Kconfig new file mode 100644 index 0000000..9f7493a --- /dev/null +++ b/board/ti/omap5912osk/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OMAP5912OSK + +config SYS_CPU + string + default "arm926ejs" + +config SYS_BOARD + string + default "omap5912osk" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap" + +config SYS_CONFIG_NAME + string + default "omap5912osk" + +endif diff --git a/board/ti/omap5_uevm/Kconfig b/board/ti/omap5_uevm/Kconfig new file mode 100644 index 0000000..7c7d5dc --- /dev/null +++ b/board/ti/omap5_uevm/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OMAP5_UEVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "omap5_uevm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap5" + +config SYS_CONFIG_NAME + string + default "omap5_uevm" + +endif diff --git a/board/ti/panda/Kconfig b/board/ti/panda/Kconfig new file mode 100644 index 0000000..be1307d --- /dev/null +++ b/board/ti/panda/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OMAP4_PANDA + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "panda" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap4" + +config SYS_CONFIG_NAME + string + default "omap4_panda" + +endif diff --git a/board/ti/sdp3430/Kconfig b/board/ti/sdp3430/Kconfig new file mode 100644 index 0000000..81989b7 --- /dev/null +++ b/board/ti/sdp3430/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OMAP3_SDP3430 + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "sdp3430" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap3" + +config SYS_CONFIG_NAME + string + default "omap3_sdp3430" + +endif diff --git a/board/ti/sdp4430/Kconfig b/board/ti/sdp4430/Kconfig new file mode 100644 index 0000000..140e1f1 --- /dev/null +++ b/board/ti/sdp4430/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OMAP4_SDP4430 + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "sdp4430" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "omap4" + +config SYS_CONFIG_NAME + string + default "omap4_sdp4430" + +endif diff --git a/board/ti/ti814x/Kconfig b/board/ti/ti814x/Kconfig new file mode 100644 index 0000000..4d4f52c --- /dev/null +++ b/board/ti/ti814x/Kconfig @@ -0,0 +1,23 @@ +if TARGET_TI814X_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "ti814x" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "am33xx" + +config SYS_CONFIG_NAME + string + default "ti814x_evm" + +endif diff --git a/board/ti/ti816x/Kconfig b/board/ti/ti816x/Kconfig new file mode 100644 index 0000000..5821172 --- /dev/null +++ b/board/ti/ti816x/Kconfig @@ -0,0 +1,23 @@ +if TARGET_TI816X_EVM + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "ti816x" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "am33xx" + +config SYS_CONFIG_NAME + string + default "ti816x_evm" + +endif diff --git a/board/ti/tnetv107xevm/Kconfig b/board/ti/tnetv107xevm/Kconfig new file mode 100644 index 0000000..9cffd7c --- /dev/null +++ b/board/ti/tnetv107xevm/Kconfig @@ -0,0 +1,23 @@ +if TARGET_TNETV107X_EVM + +config SYS_CPU + string + default "arm1176" + +config SYS_BOARD + string + default "tnetv107xevm" + +config SYS_VENDOR + string + default "ti" + +config SYS_SOC + string + default "tnetv107x" + +config SYS_CONFIG_NAME + string + default "tnetv107x_evm" + +endif -- cgit v1.1 From 93d4334f7f5bc2f0fb580606f0701b2252c6d8d6 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 30 Jul 2014 14:08:18 +0900 Subject: Add board MAINTAINERS files We have switched to Kconfig and the boards.cfg file is going to be removed. We have to retrieve the board status and maintainers information from it. The MAINTAINERS format as in Linux Kernel would be nice because we can crib the scripts/get_maintainer.pl script. After some discussion, we chose to put a MAINTAINERS file under each board directory, not the top-level one because we want to collect relevant information for a board into a single place. TODO: Modify get_maintainer.pl to scan multiple MAINTAINERS files. Signed-off-by: Masahiro Yamada Suggested-by: Tom Rini Acked-by: Simon Glass --- board/ti/am335x/MAINTAINERS | 17 +++++++++++++++++ board/ti/am3517crane/MAINTAINERS | 6 ++++++ board/ti/am43xx/MAINTAINERS | 7 +++++++ board/ti/beagle/MAINTAINERS | 6 ++++++ board/ti/dra7xx/MAINTAINERS | 8 ++++++++ board/ti/evm/MAINTAINERS | 14 ++++++++++++++ board/ti/ks2_evm/MAINTAINERS | 8 ++++++++ board/ti/omap5912osk/MAINTAINERS | 6 ++++++ board/ti/omap5_uevm/MAINTAINERS | 6 ++++++ board/ti/panda/MAINTAINERS | 6 ++++++ board/ti/sdp3430/MAINTAINERS | 6 ++++++ board/ti/sdp4430/MAINTAINERS | 6 ++++++ board/ti/ti814x/MAINTAINERS | 6 ++++++ board/ti/ti816x/MAINTAINERS | 6 ++++++ board/ti/tnetv107xevm/MAINTAINERS | 6 ++++++ 15 files changed, 114 insertions(+) create mode 100644 board/ti/am335x/MAINTAINERS create mode 100644 board/ti/am3517crane/MAINTAINERS create mode 100644 board/ti/am43xx/MAINTAINERS create mode 100644 board/ti/beagle/MAINTAINERS create mode 100644 board/ti/dra7xx/MAINTAINERS create mode 100644 board/ti/evm/MAINTAINERS create mode 100644 board/ti/ks2_evm/MAINTAINERS create mode 100644 board/ti/omap5912osk/MAINTAINERS create mode 100644 board/ti/omap5_uevm/MAINTAINERS create mode 100644 board/ti/panda/MAINTAINERS create mode 100644 board/ti/sdp3430/MAINTAINERS create mode 100644 board/ti/sdp4430/MAINTAINERS create mode 100644 board/ti/ti814x/MAINTAINERS create mode 100644 board/ti/ti816x/MAINTAINERS create mode 100644 board/ti/tnetv107xevm/MAINTAINERS (limited to 'board/ti') diff --git a/board/ti/am335x/MAINTAINERS b/board/ti/am335x/MAINTAINERS new file mode 100644 index 0000000..d166fa0 --- /dev/null +++ b/board/ti/am335x/MAINTAINERS @@ -0,0 +1,17 @@ +AM335X BOARD +M: Tom Rini +S: Maintained +F: board/ti/am335x/ +F: include/configs/am335x_evm.h +F: configs/am335x_boneblack_defconfig +F: configs/am335x_boneblack_vboot_defconfig +F: configs/am335x_evm_defconfig +F: configs/am335x_evm_nor_defconfig +F: configs/am335x_evm_norboot_defconfig +F: configs/am335x_evm_spiboot_defconfig +F: configs/am335x_evm_uart1_defconfig +F: configs/am335x_evm_uart2_defconfig +F: configs/am335x_evm_uart3_defconfig +F: configs/am335x_evm_uart4_defconfig +F: configs/am335x_evm_uart5_defconfig +F: configs/am335x_evm_usbspl_defconfig diff --git a/board/ti/am3517crane/MAINTAINERS b/board/ti/am3517crane/MAINTAINERS new file mode 100644 index 0000000..cbc3213 --- /dev/null +++ b/board/ti/am3517crane/MAINTAINERS @@ -0,0 +1,6 @@ +AM3517CRANE BOARD +M: Nagendra T S +S: Maintained +F: board/ti/am3517crane/ +F: include/configs/am3517_crane.h +F: configs/am3517_crane_defconfig diff --git a/board/ti/am43xx/MAINTAINERS b/board/ti/am43xx/MAINTAINERS new file mode 100644 index 0000000..d375278 --- /dev/null +++ b/board/ti/am43xx/MAINTAINERS @@ -0,0 +1,7 @@ +AM43XX BOARD +M: Lokesh Vutla +S: Maintained +F: board/ti/am43xx/ +F: include/configs/am43xx_evm.h +F: configs/am43xx_evm_defconfig +F: configs/am43xx_evm_qspiboot_defconfig diff --git a/board/ti/beagle/MAINTAINERS b/board/ti/beagle/MAINTAINERS new file mode 100644 index 0000000..2225fb6 --- /dev/null +++ b/board/ti/beagle/MAINTAINERS @@ -0,0 +1,6 @@ +BEAGLE BOARD +M: Tom Rini +S: Maintained +F: board/ti/beagle/ +F: include/configs/omap3_beagle.h +F: configs/omap3_beagle_defconfig diff --git a/board/ti/dra7xx/MAINTAINERS b/board/ti/dra7xx/MAINTAINERS new file mode 100644 index 0000000..5ec6769 --- /dev/null +++ b/board/ti/dra7xx/MAINTAINERS @@ -0,0 +1,8 @@ +DRA7XX BOARD +M: Lokesh Vutla +S: Maintained +F: board/ti/dra7xx/ +F: include/configs/dra7xx_evm.h +F: configs/dra7xx_evm_defconfig +F: configs/dra7xx_evm_qspiboot_defconfig +F: configs/dra7xx_evm_uart3_defconfig diff --git a/board/ti/evm/MAINTAINERS b/board/ti/evm/MAINTAINERS new file mode 100644 index 0000000..b2ebadc --- /dev/null +++ b/board/ti/evm/MAINTAINERS @@ -0,0 +1,14 @@ +EVM BOARD +M: Tom Rini +S: Maintained +F: board/ti/evm/ +F: include/configs/omap3_evm.h +F: configs/omap3_evm_defconfig + +OMAP3_EVM_QUICK_MMC BOARD +M: - +S: Maintained +F: include/configs/omap3_evm_quick_mmc.h +F: configs/omap3_evm_quick_mmc_defconfig +F: include/configs/omap3_evm_quick_nand.h +F: configs/omap3_evm_quick_nand_defconfig diff --git a/board/ti/ks2_evm/MAINTAINERS b/board/ti/ks2_evm/MAINTAINERS new file mode 100644 index 0000000..595a80a --- /dev/null +++ b/board/ti/ks2_evm/MAINTAINERS @@ -0,0 +1,8 @@ +KS2_EVM BOARD +M: Vitaly Andrianov +S: Maintained +F: board/ti/ks2_evm/ +F: include/configs/k2hk_evm.h +F: configs/k2hk_evm_defconfig +F: include/configs/k2e_evm.h +F: configs/k2e_evm_defconfig diff --git a/board/ti/omap5912osk/MAINTAINERS b/board/ti/omap5912osk/MAINTAINERS new file mode 100644 index 0000000..43ffb9b --- /dev/null +++ b/board/ti/omap5912osk/MAINTAINERS @@ -0,0 +1,6 @@ +OMAP5912OSK BOARD +M: Rishi Bhattacharya +S: Maintained +F: board/ti/omap5912osk/ +F: include/configs/omap5912osk.h +F: configs/omap5912osk_defconfig diff --git a/board/ti/omap5_uevm/MAINTAINERS b/board/ti/omap5_uevm/MAINTAINERS new file mode 100644 index 0000000..280ea2f --- /dev/null +++ b/board/ti/omap5_uevm/MAINTAINERS @@ -0,0 +1,6 @@ +OMAP5_UEVM BOARD +M: Lokesh Vutla +S: Maintained +F: board/ti/omap5_uevm/ +F: include/configs/omap5_uevm.h +F: configs/omap5_uevm_defconfig diff --git a/board/ti/panda/MAINTAINERS b/board/ti/panda/MAINTAINERS new file mode 100644 index 0000000..2142368 --- /dev/null +++ b/board/ti/panda/MAINTAINERS @@ -0,0 +1,6 @@ +PANDA BOARD +M: Lokesh Vutla +S: Maintained +F: board/ti/panda/ +F: include/configs/omap4_panda.h +F: configs/omap4_panda_defconfig diff --git a/board/ti/sdp3430/MAINTAINERS b/board/ti/sdp3430/MAINTAINERS new file mode 100644 index 0000000..943c196 --- /dev/null +++ b/board/ti/sdp3430/MAINTAINERS @@ -0,0 +1,6 @@ +SDP3430 BOARD +M: Nishanth Menon +S: Maintained +F: board/ti/sdp3430/ +F: include/configs/omap3_sdp3430.h +F: configs/omap3_sdp3430_defconfig diff --git a/board/ti/sdp4430/MAINTAINERS b/board/ti/sdp4430/MAINTAINERS new file mode 100644 index 0000000..ac4d0cc --- /dev/null +++ b/board/ti/sdp4430/MAINTAINERS @@ -0,0 +1,6 @@ +SDP4430 BOARD +M: Lokesh Vutla +S: Maintained +F: board/ti/sdp4430/ +F: include/configs/omap4_sdp4430.h +F: configs/omap4_sdp4430_defconfig diff --git a/board/ti/ti814x/MAINTAINERS b/board/ti/ti814x/MAINTAINERS new file mode 100644 index 0000000..e39b253 --- /dev/null +++ b/board/ti/ti814x/MAINTAINERS @@ -0,0 +1,6 @@ +TI814X BOARD +M: Matt Porter +S: Maintained +F: board/ti/ti814x/ +F: include/configs/ti814x_evm.h +F: configs/ti814x_evm_defconfig diff --git a/board/ti/ti816x/MAINTAINERS b/board/ti/ti816x/MAINTAINERS new file mode 100644 index 0000000..8bf6122 --- /dev/null +++ b/board/ti/ti816x/MAINTAINERS @@ -0,0 +1,6 @@ +TI816X BOARD +M: - +S: Maintained +F: board/ti/ti816x/ +F: include/configs/ti816x_evm.h +F: configs/ti816x_evm_defconfig diff --git a/board/ti/tnetv107xevm/MAINTAINERS b/board/ti/tnetv107xevm/MAINTAINERS new file mode 100644 index 0000000..76ccfdc --- /dev/null +++ b/board/ti/tnetv107xevm/MAINTAINERS @@ -0,0 +1,6 @@ +TNETV107XEVM BOARD +M: Chan-Taek Park +S: Orphan (since 2014-06) +F: board/ti/tnetv107xevm/ +F: include/configs/tnetv107x_evm.h +F: configs/tnetv107x_evm_defconfig -- cgit v1.1