summaryrefslogtreecommitdiff
path: root/src/mainboard/msi/ms9282
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-02-07 14:59:07 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-02-07 19:42:42 +0100
commit7f782a8f0b0691df506c1f0a8cb2d435582bbe68 (patch)
treec352f7fcc4373462324ca2535d034f0cbd912ae4 /src/mainboard/msi/ms9282
parent7627f7f22d06accc9a22b3859cd1813d6f3c99c5 (diff)
downloadcoreboot-7f782a8f0b0691df506c1f0a8cb2d435582bbe68.tar.xz
Delete hard-coded driver includes
Driver components are conditionally included in the build using the Kconfig options. Change-Id: I05417ee263a5b82e947600482dfb68f7a3f52d58 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/610 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/msi/ms9282')
-rw-r--r--src/mainboard/msi/ms9282/Kconfig2
-rw-r--r--src/mainboard/msi/ms9282/Makefile.inc4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/msi/ms9282/Kconfig b/src/mainboard/msi/ms9282/Kconfig
index 3ccc3f9756..9e8cf4e601 100644
--- a/src/mainboard/msi/ms9282/Kconfig
+++ b/src/mainboard/msi/ms9282/Kconfig
@@ -19,6 +19,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_512
select RAMINIT_SYSINFO
select QRANK_DIMM_SUPPORT
+ select DRIVERS_I2C_ADM1027
+ select DRIVERS_I2C_I2CMUX2
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms9282/Makefile.inc b/src/mainboard/msi/ms9282/Makefile.inc
index e8d9af1b7f..1ba662e9f7 100644
--- a/src/mainboard/msi/ms9282/Makefile.inc
+++ b/src/mainboard/msi/ms9282/Makefile.inc
@@ -17,7 +17,3 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-# FIXME drivers should be selected through Kconfig
-ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c
-ramstage-y += ../../../drivers/i2c/adm1027/adm1027.c
-