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/esd/apc405/Kconfig | 15 +++++++++++ board/esd/ar405/Kconfig | 15 +++++++++++ board/esd/ash405/Kconfig | 15 +++++++++++ board/esd/cms700/Kconfig | 15 +++++++++++ board/esd/cpci2dp/Kconfig | 15 +++++++++++ board/esd/cpci405/Kconfig | 63 +++++++++++++++++++++++++++++++++++++++++++++ board/esd/cpci5200/Kconfig | 15 +++++++++++ board/esd/cpci750/Kconfig | 15 +++++++++++ board/esd/cpciiser4/Kconfig | 15 +++++++++++ board/esd/dp405/Kconfig | 15 +++++++++++ board/esd/du405/Kconfig | 15 +++++++++++ board/esd/du440/Kconfig | 15 +++++++++++ board/esd/hh405/Kconfig | 15 +++++++++++ board/esd/hub405/Kconfig | 15 +++++++++++ board/esd/mecp5123/Kconfig | 15 +++++++++++ board/esd/mecp5200/Kconfig | 15 +++++++++++ board/esd/meesc/Kconfig | 23 +++++++++++++++++ board/esd/ocrtc/Kconfig | 15 +++++++++++ board/esd/otc570/Kconfig | 23 +++++++++++++++++ board/esd/pci405/Kconfig | 15 +++++++++++ board/esd/pf5200/Kconfig | 15 +++++++++++ board/esd/plu405/Kconfig | 15 +++++++++++ board/esd/pmc405/Kconfig | 15 +++++++++++ board/esd/pmc405de/Kconfig | 15 +++++++++++ board/esd/pmc440/Kconfig | 15 +++++++++++ board/esd/tasreg/Kconfig | 19 ++++++++++++++ board/esd/vme8349/Kconfig | 15 +++++++++++ board/esd/voh405/Kconfig | 15 +++++++++++ board/esd/vom405/Kconfig | 15 +++++++++++ board/esd/wuh405/Kconfig | 15 +++++++++++ 30 files changed, 518 insertions(+) create mode 100644 board/esd/apc405/Kconfig create mode 100644 board/esd/ar405/Kconfig create mode 100644 board/esd/ash405/Kconfig create mode 100644 board/esd/cms700/Kconfig create mode 100644 board/esd/cpci2dp/Kconfig create mode 100644 board/esd/cpci405/Kconfig create mode 100644 board/esd/cpci5200/Kconfig create mode 100644 board/esd/cpci750/Kconfig create mode 100644 board/esd/cpciiser4/Kconfig create mode 100644 board/esd/dp405/Kconfig create mode 100644 board/esd/du405/Kconfig create mode 100644 board/esd/du440/Kconfig create mode 100644 board/esd/hh405/Kconfig create mode 100644 board/esd/hub405/Kconfig create mode 100644 board/esd/mecp5123/Kconfig create mode 100644 board/esd/mecp5200/Kconfig create mode 100644 board/esd/meesc/Kconfig create mode 100644 board/esd/ocrtc/Kconfig create mode 100644 board/esd/otc570/Kconfig create mode 100644 board/esd/pci405/Kconfig create mode 100644 board/esd/pf5200/Kconfig create mode 100644 board/esd/plu405/Kconfig create mode 100644 board/esd/pmc405/Kconfig create mode 100644 board/esd/pmc405de/Kconfig create mode 100644 board/esd/pmc440/Kconfig create mode 100644 board/esd/tasreg/Kconfig create mode 100644 board/esd/vme8349/Kconfig create mode 100644 board/esd/voh405/Kconfig create mode 100644 board/esd/vom405/Kconfig create mode 100644 board/esd/wuh405/Kconfig (limited to 'board/esd') diff --git a/board/esd/apc405/Kconfig b/board/esd/apc405/Kconfig new file mode 100644 index 0000000000..83cd8bd9bb --- /dev/null +++ b/board/esd/apc405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_APC405 + +config SYS_BOARD + string + default "apc405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "APC405" + +endif diff --git a/board/esd/ar405/Kconfig b/board/esd/ar405/Kconfig new file mode 100644 index 0000000000..e35fc5e743 --- /dev/null +++ b/board/esd/ar405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_AR405 + +config SYS_BOARD + string + default "ar405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "AR405" + +endif diff --git a/board/esd/ash405/Kconfig b/board/esd/ash405/Kconfig new file mode 100644 index 0000000000..e9558a44c5 --- /dev/null +++ b/board/esd/ash405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_ASH405 + +config SYS_BOARD + string + default "ash405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "ASH405" + +endif diff --git a/board/esd/cms700/Kconfig b/board/esd/cms700/Kconfig new file mode 100644 index 0000000000..398d22a69f --- /dev/null +++ b/board/esd/cms700/Kconfig @@ -0,0 +1,15 @@ +if TARGET_CMS700 + +config SYS_BOARD + string + default "cms700" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CMS700" + +endif diff --git a/board/esd/cpci2dp/Kconfig b/board/esd/cpci2dp/Kconfig new file mode 100644 index 0000000000..c99404c903 --- /dev/null +++ b/board/esd/cpci2dp/Kconfig @@ -0,0 +1,15 @@ +if TARGET_CPCI2DP + +config SYS_BOARD + string + default "cpci2dp" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCI2DP" + +endif diff --git a/board/esd/cpci405/Kconfig b/board/esd/cpci405/Kconfig new file mode 100644 index 0000000000..0b9f9f4bed --- /dev/null +++ b/board/esd/cpci405/Kconfig @@ -0,0 +1,63 @@ +if TARGET_CPCI405 + +config SYS_BOARD + string + default "cpci405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCI405" + +endif + +if TARGET_CPCI4052 + +config SYS_BOARD + string + default "cpci405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCI4052" + +endif + +if TARGET_CPCI405AB + +config SYS_BOARD + string + default "cpci405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCI405AB" + +endif + +if TARGET_CPCI405DT + +config SYS_BOARD + string + default "cpci405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCI405DT" + +endif diff --git a/board/esd/cpci5200/Kconfig b/board/esd/cpci5200/Kconfig new file mode 100644 index 0000000000..29fa9e60cd --- /dev/null +++ b/board/esd/cpci5200/Kconfig @@ -0,0 +1,15 @@ +if TARGET_CPCI5200 + +config SYS_BOARD + string + default "cpci5200" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "cpci5200" + +endif diff --git a/board/esd/cpci750/Kconfig b/board/esd/cpci750/Kconfig new file mode 100644 index 0000000000..99f8c2dc14 --- /dev/null +++ b/board/esd/cpci750/Kconfig @@ -0,0 +1,15 @@ +if TARGET_CPCI750 + +config SYS_BOARD + string + default "cpci750" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCI750" + +endif diff --git a/board/esd/cpciiser4/Kconfig b/board/esd/cpciiser4/Kconfig new file mode 100644 index 0000000000..1357a51943 --- /dev/null +++ b/board/esd/cpciiser4/Kconfig @@ -0,0 +1,15 @@ +if TARGET_CPCIISER4 + +config SYS_BOARD + string + default "cpciiser4" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "CPCIISER4" + +endif diff --git a/board/esd/dp405/Kconfig b/board/esd/dp405/Kconfig new file mode 100644 index 0000000000..0fd7014571 --- /dev/null +++ b/board/esd/dp405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_DP405 + +config SYS_BOARD + string + default "dp405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "DP405" + +endif diff --git a/board/esd/du405/Kconfig b/board/esd/du405/Kconfig new file mode 100644 index 0000000000..f2857f695f --- /dev/null +++ b/board/esd/du405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_DU405 + +config SYS_BOARD + string + default "du405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "DU405" + +endif diff --git a/board/esd/du440/Kconfig b/board/esd/du440/Kconfig new file mode 100644 index 0000000000..f80e1819ba --- /dev/null +++ b/board/esd/du440/Kconfig @@ -0,0 +1,15 @@ +if TARGET_DU440 + +config SYS_BOARD + string + default "du440" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "DU440" + +endif diff --git a/board/esd/hh405/Kconfig b/board/esd/hh405/Kconfig new file mode 100644 index 0000000000..0dc4b062da --- /dev/null +++ b/board/esd/hh405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_HH405 + +config SYS_BOARD + string + default "hh405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "HH405" + +endif diff --git a/board/esd/hub405/Kconfig b/board/esd/hub405/Kconfig new file mode 100644 index 0000000000..e355dd2f87 --- /dev/null +++ b/board/esd/hub405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_HUB405 + +config SYS_BOARD + string + default "hub405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "HUB405" + +endif diff --git a/board/esd/mecp5123/Kconfig b/board/esd/mecp5123/Kconfig new file mode 100644 index 0000000000..74237e34cb --- /dev/null +++ b/board/esd/mecp5123/Kconfig @@ -0,0 +1,15 @@ +if TARGET_MECP5123 + +config SYS_BOARD + string + default "mecp5123" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "mecp5123" + +endif diff --git a/board/esd/mecp5200/Kconfig b/board/esd/mecp5200/Kconfig new file mode 100644 index 0000000000..dfcaefdbf6 --- /dev/null +++ b/board/esd/mecp5200/Kconfig @@ -0,0 +1,15 @@ +if TARGET_MECP5200 + +config SYS_BOARD + string + default "mecp5200" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "mecp5200" + +endif diff --git a/board/esd/meesc/Kconfig b/board/esd/meesc/Kconfig new file mode 100644 index 0000000000..86a28353d1 --- /dev/null +++ b/board/esd/meesc/Kconfig @@ -0,0 +1,23 @@ +if TARGET_MEESC + +config SYS_CPU + string + default "arm926ejs" + +config SYS_BOARD + string + default "meesc" + +config SYS_VENDOR + string + default "esd" + +config SYS_SOC + string + default "at91" + +config SYS_CONFIG_NAME + string + default "meesc" + +endif diff --git a/board/esd/ocrtc/Kconfig b/board/esd/ocrtc/Kconfig new file mode 100644 index 0000000000..83fa495947 --- /dev/null +++ b/board/esd/ocrtc/Kconfig @@ -0,0 +1,15 @@ +if TARGET_OCRTC + +config SYS_BOARD + string + default "ocrtc" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "OCRTC" + +endif diff --git a/board/esd/otc570/Kconfig b/board/esd/otc570/Kconfig new file mode 100644 index 0000000000..ec6e4d9823 --- /dev/null +++ b/board/esd/otc570/Kconfig @@ -0,0 +1,23 @@ +if TARGET_OTC570 + +config SYS_CPU + string + default "arm926ejs" + +config SYS_BOARD + string + default "otc570" + +config SYS_VENDOR + string + default "esd" + +config SYS_SOC + string + default "at91" + +config SYS_CONFIG_NAME + string + default "otc570" + +endif diff --git a/board/esd/pci405/Kconfig b/board/esd/pci405/Kconfig new file mode 100644 index 0000000000..a1a3971659 --- /dev/null +++ b/board/esd/pci405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_PCI405 + +config SYS_BOARD + string + default "pci405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "PCI405" + +endif diff --git a/board/esd/pf5200/Kconfig b/board/esd/pf5200/Kconfig new file mode 100644 index 0000000000..82f30afe09 --- /dev/null +++ b/board/esd/pf5200/Kconfig @@ -0,0 +1,15 @@ +if TARGET_PF5200 + +config SYS_BOARD + string + default "pf5200" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "pf5200" + +endif diff --git a/board/esd/plu405/Kconfig b/board/esd/plu405/Kconfig new file mode 100644 index 0000000000..b9783d776d --- /dev/null +++ b/board/esd/plu405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_PLU405 + +config SYS_BOARD + string + default "plu405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "PLU405" + +endif diff --git a/board/esd/pmc405/Kconfig b/board/esd/pmc405/Kconfig new file mode 100644 index 0000000000..e3c3c82041 --- /dev/null +++ b/board/esd/pmc405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_PMC405 + +config SYS_BOARD + string + default "pmc405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "PMC405" + +endif diff --git a/board/esd/pmc405de/Kconfig b/board/esd/pmc405de/Kconfig new file mode 100644 index 0000000000..f06b26b1f2 --- /dev/null +++ b/board/esd/pmc405de/Kconfig @@ -0,0 +1,15 @@ +if TARGET_PMC405DE + +config SYS_BOARD + string + default "pmc405de" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "PMC405DE" + +endif diff --git a/board/esd/pmc440/Kconfig b/board/esd/pmc440/Kconfig new file mode 100644 index 0000000000..28db4ab187 --- /dev/null +++ b/board/esd/pmc440/Kconfig @@ -0,0 +1,15 @@ +if TARGET_PMC440 + +config SYS_BOARD + string + default "pmc440" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "PMC440" + +endif diff --git a/board/esd/tasreg/Kconfig b/board/esd/tasreg/Kconfig new file mode 100644 index 0000000000..8fb80dc265 --- /dev/null +++ b/board/esd/tasreg/Kconfig @@ -0,0 +1,19 @@ +if TARGET_TASREG + +config SYS_CPU + string + default "mcf52x2" + +config SYS_BOARD + string + default "tasreg" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "TASREG" + +endif diff --git a/board/esd/vme8349/Kconfig b/board/esd/vme8349/Kconfig new file mode 100644 index 0000000000..4fd507c332 --- /dev/null +++ b/board/esd/vme8349/Kconfig @@ -0,0 +1,15 @@ +if TARGET_VME8349 + +config SYS_BOARD + string + default "vme8349" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "vme8349" + +endif diff --git a/board/esd/voh405/Kconfig b/board/esd/voh405/Kconfig new file mode 100644 index 0000000000..ef3d073c37 --- /dev/null +++ b/board/esd/voh405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_VOH405 + +config SYS_BOARD + string + default "voh405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "VOH405" + +endif diff --git a/board/esd/vom405/Kconfig b/board/esd/vom405/Kconfig new file mode 100644 index 0000000000..90ba34a04d --- /dev/null +++ b/board/esd/vom405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_VOM405 + +config SYS_BOARD + string + default "vom405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "VOM405" + +endif diff --git a/board/esd/wuh405/Kconfig b/board/esd/wuh405/Kconfig new file mode 100644 index 0000000000..214af9f8ac --- /dev/null +++ b/board/esd/wuh405/Kconfig @@ -0,0 +1,15 @@ +if TARGET_WUH405 + +config SYS_BOARD + string + default "wuh405" + +config SYS_VENDOR + string + default "esd" + +config SYS_CONFIG_NAME + string + default "WUH405" + +endif -- cgit