summaryrefslogtreecommitdiff
path: root/src/mainboard/msi/Kconfig
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>2010-08-30 16:36:51 +0000
committerStefan Reinauer <stepan@openbios.org>2010-08-30 16:36:51 +0000
commit9a684fcb0fe28a47d23b7cb3acbd2add47c6ac50 (patch)
tree751018fc6b4498559503eba4e6bb9bf50ac51a88 /src/mainboard/msi/Kconfig
parent459b0d2ddd966823a40da06d6cc3c30d8cb8bdd2 (diff)
downloadcoreboot-9a684fcb0fe28a47d23b7cb3acbd2add47c6ac50.tar.xz
Restructured all vendors' Kconfig files to no longer source the boards'
Kconfigs from within the choice/endchoice block. This makes it possible to define user visible board specific options. Moved all vendor names and PCI ids to the vendors' Kconfigs. Now all options in each file depend on the same symbol, so replaced all "depends on"s with a single "if". Sorted boards (sort -d), cleaned whitespace. This patch also introduces a dummy option BOARD_SPECIFIC_OPTIONS, which is always "y" and never used. It it simply needed to have something to attach the boards' "select" statements to. Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5754 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/msi/Kconfig')
-rw-r--r--src/mainboard/msi/Kconfig32
1 files changed, 30 insertions, 2 deletions
diff --git a/src/mainboard/msi/Kconfig b/src/mainboard/msi/Kconfig
index 5070294962..c2f1595877 100644
--- a/src/mainboard/msi/Kconfig
+++ b/src/mainboard/msi/Kconfig
@@ -16,10 +16,31 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+if VENDOR_MSI
choice
prompt "Mainboard model"
- depends on VENDOR_MSI
+
+config BOARD_MSI_MS_6119
+ bool "MS-6119"
+config BOARD_MSI_MS_6147
+ bool "MS-6147"
+config BOARD_MSI_MS_6156
+ bool "MS-6156"
+config BOARD_MSI_MS_6178
+ bool "MS-6178"
+config BOARD_MSI_MS7135
+ bool "MS-7135 (K8N Neo3)"
+config BOARD_MSI_MS7260
+ bool "MS-7260 (K9N Neo)"
+config BOARD_MSI_MS9185
+ bool "MS-9185 (K9SD Master-S2R)"
+config BOARD_MSI_MS9282
+ bool "MS-9282 (K9SD Master)"
+config BOARD_MSI_MS9652_FAM10
+ bool "MS-9652 Fam10 (Speedster K9ND)"
+
+endchoice
source "src/mainboard/msi/ms6119/Kconfig"
source "src/mainboard/msi/ms6147/Kconfig"
@@ -31,5 +52,12 @@ source "src/mainboard/msi/ms9185/Kconfig"
source "src/mainboard/msi/ms9282/Kconfig"
source "src/mainboard/msi/ms9652_fam10/Kconfig"
-endchoice
+config MAINBOARD_VENDOR
+ string
+ default "MSI"
+
+config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
+ hex
+ default 0x1462
+endif # VENDOR_MSI