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/gdsys/405ep/Kconfig | 63 +++++++++++++++++++++++++++++++++++++++++ board/gdsys/405ex/Kconfig | 15 ++++++++++ board/gdsys/dlvision/Kconfig | 15 ++++++++++ board/gdsys/gdppc440etx/Kconfig | 15 ++++++++++ board/gdsys/intip/Kconfig | 15 ++++++++++ board/gdsys/p1022/Kconfig | 15 ++++++++++ 6 files changed, 138 insertions(+) create mode 100644 board/gdsys/405ep/Kconfig create mode 100644 board/gdsys/405ex/Kconfig create mode 100644 board/gdsys/dlvision/Kconfig create mode 100644 board/gdsys/gdppc440etx/Kconfig create mode 100644 board/gdsys/intip/Kconfig create mode 100644 board/gdsys/p1022/Kconfig (limited to 'board/gdsys') diff --git a/board/gdsys/405ep/Kconfig b/board/gdsys/405ep/Kconfig new file mode 100644 index 0000000..8a5d3f5 --- /dev/null +++ b/board/gdsys/405ep/Kconfig @@ -0,0 +1,63 @@ +if TARGET_DLVISION_10G + +config SYS_BOARD + string + default "405ep" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "dlvision-10g" + +endif + +if TARGET_IO + +config SYS_BOARD + string + default "405ep" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "io" + +endif + +if TARGET_IOCON + +config SYS_BOARD + string + default "405ep" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "iocon" + +endif + +if TARGET_NEO + +config SYS_BOARD + string + default "405ep" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "neo" + +endif diff --git a/board/gdsys/405ex/Kconfig b/board/gdsys/405ex/Kconfig new file mode 100644 index 0000000..b4fb975 --- /dev/null +++ b/board/gdsys/405ex/Kconfig @@ -0,0 +1,15 @@ +if TARGET_IO64 + +config SYS_BOARD + string + default "405ex" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "io64" + +endif diff --git a/board/gdsys/dlvision/Kconfig b/board/gdsys/dlvision/Kconfig new file mode 100644 index 0000000..af8334e --- /dev/null +++ b/board/gdsys/dlvision/Kconfig @@ -0,0 +1,15 @@ +if TARGET_DLVISION + +config SYS_BOARD + string + default "dlvision" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "dlvision" + +endif diff --git a/board/gdsys/gdppc440etx/Kconfig b/board/gdsys/gdppc440etx/Kconfig new file mode 100644 index 0000000..5a05c1c --- /dev/null +++ b/board/gdsys/gdppc440etx/Kconfig @@ -0,0 +1,15 @@ +if TARGET_GDPPC440ETX + +config SYS_BOARD + string + default "gdppc440etx" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "gdppc440etx" + +endif diff --git a/board/gdsys/intip/Kconfig b/board/gdsys/intip/Kconfig new file mode 100644 index 0000000..7be439c --- /dev/null +++ b/board/gdsys/intip/Kconfig @@ -0,0 +1,15 @@ +if TARGET_INTIP + +config SYS_BOARD + string + default "intip" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "intip" + +endif diff --git a/board/gdsys/p1022/Kconfig b/board/gdsys/p1022/Kconfig new file mode 100644 index 0000000..277ed7d --- /dev/null +++ b/board/gdsys/p1022/Kconfig @@ -0,0 +1,15 @@ +if TARGET_CONTROLCENTERD + +config SYS_BOARD + string + default "p1022" + +config SYS_VENDOR + string + default "gdsys" + +config SYS_CONFIG_NAME + string + default "controlcenterd" + +endif -- cgit v1.1