Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / msi / Kconfig
index 7377da7f65995db42ea829ca3f5bc530fdf0cd36..3d0de4a5e86137ecd01999f13ab149aafd21c2e6 100644 (file)
@@ -5,8 +5,7 @@
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
+## the Free Software Foundation; version 2 of the License.
 ##
 ## This program is distributed in the hope that it will be useful,
 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
 ## 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"
 source "src/mainboard/msi/ms6156/Kconfig"
@@ -32,5 +52,8 @@ 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"
 
+endif # VENDOR_MSI