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/amcc/acadia/Kconfig | 15 +++++++++++++++ board/amcc/bamboo/Kconfig | 15 +++++++++++++++ board/amcc/bluestone/Kconfig | 15 +++++++++++++++ board/amcc/bubinga/Kconfig | 15 +++++++++++++++ board/amcc/canyonlands/Kconfig | 15 +++++++++++++++ board/amcc/ebony/Kconfig | 15 +++++++++++++++ board/amcc/katmai/Kconfig | 15 +++++++++++++++ board/amcc/kilauea/Kconfig | 15 +++++++++++++++ board/amcc/luan/Kconfig | 15 +++++++++++++++ board/amcc/makalu/Kconfig | 15 +++++++++++++++ board/amcc/ocotea/Kconfig | 15 +++++++++++++++ board/amcc/redwood/Kconfig | 15 +++++++++++++++ board/amcc/sequoia/Kconfig | 15 +++++++++++++++ board/amcc/taihu/Kconfig | 15 +++++++++++++++ board/amcc/taishan/Kconfig | 15 +++++++++++++++ board/amcc/walnut/Kconfig | 15 +++++++++++++++ board/amcc/yosemite/Kconfig | 15 +++++++++++++++ board/amcc/yucca/Kconfig | 15 +++++++++++++++ 18 files changed, 270 insertions(+) create mode 100644 board/amcc/acadia/Kconfig create mode 100644 board/amcc/bamboo/Kconfig create mode 100644 board/amcc/bluestone/Kconfig create mode 100644 board/amcc/bubinga/Kconfig create mode 100644 board/amcc/canyonlands/Kconfig create mode 100644 board/amcc/ebony/Kconfig create mode 100644 board/amcc/katmai/Kconfig create mode 100644 board/amcc/kilauea/Kconfig create mode 100644 board/amcc/luan/Kconfig create mode 100644 board/amcc/makalu/Kconfig create mode 100644 board/amcc/ocotea/Kconfig create mode 100644 board/amcc/redwood/Kconfig create mode 100644 board/amcc/sequoia/Kconfig create mode 100644 board/amcc/taihu/Kconfig create mode 100644 board/amcc/taishan/Kconfig create mode 100644 board/amcc/walnut/Kconfig create mode 100644 board/amcc/yosemite/Kconfig create mode 100644 board/amcc/yucca/Kconfig (limited to 'board/amcc') 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 -- 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/amcc/acadia/MAINTAINERS | 6 ++++++ board/amcc/bamboo/MAINTAINERS | 6 ++++++ board/amcc/bluestone/MAINTAINERS | 6 ++++++ board/amcc/bubinga/MAINTAINERS | 6 ++++++ board/amcc/canyonlands/MAINTAINERS | 8 ++++++++ board/amcc/ebony/MAINTAINERS | 6 ++++++ board/amcc/katmai/MAINTAINERS | 6 ++++++ board/amcc/kilauea/MAINTAINERS | 7 +++++++ board/amcc/luan/MAINTAINERS | 6 ++++++ board/amcc/makalu/MAINTAINERS | 6 ++++++ board/amcc/ocotea/MAINTAINERS | 6 ++++++ board/amcc/redwood/MAINTAINERS | 6 ++++++ board/amcc/sequoia/MAINTAINERS | 9 +++++++++ board/amcc/taihu/MAINTAINERS | 6 ++++++ board/amcc/taishan/MAINTAINERS | 6 ++++++ board/amcc/walnut/MAINTAINERS | 7 +++++++ board/amcc/yosemite/MAINTAINERS | 7 +++++++ board/amcc/yucca/MAINTAINERS | 6 ++++++ 18 files changed, 116 insertions(+) create mode 100644 board/amcc/acadia/MAINTAINERS create mode 100644 board/amcc/bamboo/MAINTAINERS create mode 100644 board/amcc/bluestone/MAINTAINERS create mode 100644 board/amcc/bubinga/MAINTAINERS create mode 100644 board/amcc/canyonlands/MAINTAINERS create mode 100644 board/amcc/ebony/MAINTAINERS create mode 100644 board/amcc/katmai/MAINTAINERS create mode 100644 board/amcc/kilauea/MAINTAINERS create mode 100644 board/amcc/luan/MAINTAINERS create mode 100644 board/amcc/makalu/MAINTAINERS create mode 100644 board/amcc/ocotea/MAINTAINERS create mode 100644 board/amcc/redwood/MAINTAINERS create mode 100644 board/amcc/sequoia/MAINTAINERS create mode 100644 board/amcc/taihu/MAINTAINERS create mode 100644 board/amcc/taishan/MAINTAINERS create mode 100644 board/amcc/walnut/MAINTAINERS create mode 100644 board/amcc/yosemite/MAINTAINERS create mode 100644 board/amcc/yucca/MAINTAINERS (limited to 'board/amcc') diff --git a/board/amcc/acadia/MAINTAINERS b/board/amcc/acadia/MAINTAINERS new file mode 100644 index 0000000..c16961f --- /dev/null +++ b/board/amcc/acadia/MAINTAINERS @@ -0,0 +1,6 @@ +ACADIA BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/acadia/ +F: include/configs/acadia.h +F: configs/acadia_defconfig diff --git a/board/amcc/bamboo/MAINTAINERS b/board/amcc/bamboo/MAINTAINERS new file mode 100644 index 0000000..4c8929e --- /dev/null +++ b/board/amcc/bamboo/MAINTAINERS @@ -0,0 +1,6 @@ +BAMBOO BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/bamboo/ +F: include/configs/bamboo.h +F: configs/bamboo_defconfig diff --git a/board/amcc/bluestone/MAINTAINERS b/board/amcc/bluestone/MAINTAINERS new file mode 100644 index 0000000..4a329e9 --- /dev/null +++ b/board/amcc/bluestone/MAINTAINERS @@ -0,0 +1,6 @@ +BLUESTONE BOARD +M: Tirumala Marri +S: Orphan (since 2014-03) +F: board/amcc/bluestone/ +F: include/configs/bluestone.h +F: configs/bluestone_defconfig diff --git a/board/amcc/bubinga/MAINTAINERS b/board/amcc/bubinga/MAINTAINERS new file mode 100644 index 0000000..9d5ace2 --- /dev/null +++ b/board/amcc/bubinga/MAINTAINERS @@ -0,0 +1,6 @@ +BUBINGA BOARD +M: - +S: Maintained +F: board/amcc/bubinga/ +F: include/configs/bubinga.h +F: configs/bubinga_defconfig diff --git a/board/amcc/canyonlands/MAINTAINERS b/board/amcc/canyonlands/MAINTAINERS new file mode 100644 index 0000000..52bf004 --- /dev/null +++ b/board/amcc/canyonlands/MAINTAINERS @@ -0,0 +1,8 @@ +CANYONLANDS BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/canyonlands/ +F: include/configs/canyonlands.h +F: configs/arches_defconfig +F: configs/canyonlands_defconfig +F: configs/glacier_defconfig diff --git a/board/amcc/ebony/MAINTAINERS b/board/amcc/ebony/MAINTAINERS new file mode 100644 index 0000000..bc62851 --- /dev/null +++ b/board/amcc/ebony/MAINTAINERS @@ -0,0 +1,6 @@ +EBONY BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/ebony/ +F: include/configs/ebony.h +F: configs/ebony_defconfig diff --git a/board/amcc/katmai/MAINTAINERS b/board/amcc/katmai/MAINTAINERS new file mode 100644 index 0000000..f089352 --- /dev/null +++ b/board/amcc/katmai/MAINTAINERS @@ -0,0 +1,6 @@ +KATMAI BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/katmai/ +F: include/configs/katmai.h +F: configs/katmai_defconfig diff --git a/board/amcc/kilauea/MAINTAINERS b/board/amcc/kilauea/MAINTAINERS new file mode 100644 index 0000000..12bbcb1 --- /dev/null +++ b/board/amcc/kilauea/MAINTAINERS @@ -0,0 +1,7 @@ +KILAUEA BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/kilauea/ +F: include/configs/kilauea.h +F: configs/haleakala_defconfig +F: configs/kilauea_defconfig diff --git a/board/amcc/luan/MAINTAINERS b/board/amcc/luan/MAINTAINERS new file mode 100644 index 0000000..a23296d --- /dev/null +++ b/board/amcc/luan/MAINTAINERS @@ -0,0 +1,6 @@ +LUAN BOARD +M: John Otken +S: Maintained +F: board/amcc/luan/ +F: include/configs/luan.h +F: configs/luan_defconfig diff --git a/board/amcc/makalu/MAINTAINERS b/board/amcc/makalu/MAINTAINERS new file mode 100644 index 0000000..ecd5e19 --- /dev/null +++ b/board/amcc/makalu/MAINTAINERS @@ -0,0 +1,6 @@ +MAKALU BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/makalu/ +F: include/configs/makalu.h +F: configs/makalu_defconfig diff --git a/board/amcc/ocotea/MAINTAINERS b/board/amcc/ocotea/MAINTAINERS new file mode 100644 index 0000000..34634a2 --- /dev/null +++ b/board/amcc/ocotea/MAINTAINERS @@ -0,0 +1,6 @@ +OCOTEA BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/ocotea/ +F: include/configs/ocotea.h +F: configs/ocotea_defconfig diff --git a/board/amcc/redwood/MAINTAINERS b/board/amcc/redwood/MAINTAINERS new file mode 100644 index 0000000..756b301 --- /dev/null +++ b/board/amcc/redwood/MAINTAINERS @@ -0,0 +1,6 @@ +REDWOOD BOARD +M: Feng Kan +S: Maintained +F: board/amcc/redwood/ +F: include/configs/redwood.h +F: configs/redwood_defconfig diff --git a/board/amcc/sequoia/MAINTAINERS b/board/amcc/sequoia/MAINTAINERS new file mode 100644 index 0000000..6c28a37 --- /dev/null +++ b/board/amcc/sequoia/MAINTAINERS @@ -0,0 +1,9 @@ +SEQUOIA BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/sequoia/ +F: include/configs/sequoia.h +F: configs/rainier_defconfig +F: configs/rainier_ramboot_defconfig +F: configs/sequoia_defconfig +F: configs/sequoia_ramboot_defconfig diff --git a/board/amcc/taihu/MAINTAINERS b/board/amcc/taihu/MAINTAINERS new file mode 100644 index 0000000..2efc254 --- /dev/null +++ b/board/amcc/taihu/MAINTAINERS @@ -0,0 +1,6 @@ +TAIHU BOARD +M: John Otken +S: Maintained +F: board/amcc/taihu/ +F: include/configs/taihu.h +F: configs/taihu_defconfig diff --git a/board/amcc/taishan/MAINTAINERS b/board/amcc/taishan/MAINTAINERS new file mode 100644 index 0000000..d9d80bf --- /dev/null +++ b/board/amcc/taishan/MAINTAINERS @@ -0,0 +1,6 @@ +TAISHAN BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/taishan/ +F: include/configs/taishan.h +F: configs/taishan_defconfig diff --git a/board/amcc/walnut/MAINTAINERS b/board/amcc/walnut/MAINTAINERS new file mode 100644 index 0000000..2a98c85 --- /dev/null +++ b/board/amcc/walnut/MAINTAINERS @@ -0,0 +1,7 @@ +WALNUT BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/walnut/ +F: include/configs/walnut.h +F: configs/sycamore_defconfig +F: configs/walnut_defconfig diff --git a/board/amcc/yosemite/MAINTAINERS b/board/amcc/yosemite/MAINTAINERS new file mode 100644 index 0000000..3f553e1 --- /dev/null +++ b/board/amcc/yosemite/MAINTAINERS @@ -0,0 +1,7 @@ +YOSEMITE BOARD +M: Stefan Roese +S: Maintained +F: board/amcc/yosemite/ +F: include/configs/yosemite.h +F: configs/yellowstone_defconfig +F: configs/yosemite_defconfig diff --git a/board/amcc/yucca/MAINTAINERS b/board/amcc/yucca/MAINTAINERS new file mode 100644 index 0000000..0663003 --- /dev/null +++ b/board/amcc/yucca/MAINTAINERS @@ -0,0 +1,6 @@ +YUCCA BOARD +M: - +S: Maintained +F: board/amcc/yucca/ +F: include/configs/yucca.h +F: configs/yucca_defconfig -- cgit v1.1