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>
This commit is contained in:
Kyösti Mälkki 2012-02-07 14:59:07 +02:00 committed by Stefan Reinauer
parent 7627f7f22d
commit 7f782a8f0b
18 changed files with 11 additions and 17 deletions

View File

@ -3,8 +3,8 @@ if BOARD_AMD_SERENGETI_CHEETAH
config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
select ARCH_X86
select SOUTHBRIDGE_AMD_AMD8132
select SOUTHBRIDGE_AMD_AMD8151
select SOUTHBRIDGE_AMD_AMD8132
select SOUTHBRIDGE_AMD_AMD8151
select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
@ -27,6 +27,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_512
select RAMINIT_SYSINFO
select QRANK_DIMM_SUPPORT
select DRIVERS_I2C_I2CMUX
config MAINBOARD_DIR
string

View File

@ -17,4 +17,3 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
ramstage-y += ../../../drivers/i2c/i2cmux/i2cmux.c

View File

@ -25,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select ENABLE_APIC_EXT_ID
select LIFT_BSP_APIC_ID
select QRANK_DIMM_SUPPORT
select DRIVERS_I2C_I2CMUX2
config MAINBOARD_DIR
string

View File

@ -17,4 +17,3 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c

View File

@ -17,6 +17,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_512
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select QRANK_DIMM_SUPPORT
select DRIVERS_I2C_I2CMUX2
config MAINBOARD_DIR
string

View File

@ -1,4 +1,3 @@
# Needed by irq_tables and mptable and acpi_tables.
ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c

View File

@ -18,6 +18,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select RAMINIT_SYSINFO
# select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select QRANK_DIMM_SUPPORT
select DRIVERS_I2C_I2CMUX
config MAINBOARD_DIR
string

View File

@ -1 +0,0 @@
ramstage-y += ../../../drivers/i2c/i2cmux/i2cmux.c

View File

@ -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

View File

@ -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

View File

@ -24,6 +24,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select QRANK_DIMM_SUPPORT
select K8_ALLOCATE_IO_RANGE
select SET_FIDVID
select DRIVERS_I2C_I2CMUX2
config MAINBOARD_DIR
string

View File

@ -17,6 +17,4 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c
# Needed by irq_tables and mptable and acpi_tables.

View File

@ -19,4 +19,3 @@
##
ROMCCFLAGS=-mcpu=p4 -O2
ramstage-y += ../../../drivers/generic/debug/debug_dev.c

View File

@ -19,4 +19,3 @@
##
ROMCCFLAGS=-mcpu=p4 -O2
ramstage-y += ../../../drivers/generic/debug/debug_dev.c

View File

@ -18,6 +18,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select DRIVERS_SIL_3114
select QRANK_DIMM_SUPPORT
select DRIVERS_I2C_ADT7463
config MAINBOARD_DIR
string

View File

@ -1 +0,0 @@
ramstage-y += ../../../drivers/i2c/adt7463/adt7463.c

View File

@ -18,6 +18,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_ACPI_TABLES
select BOARD_ROMSIZE_KB_1024
select QRANK_DIMM_SUPPORT
select DRIVERS_I2C_ADM1027
config MAINBOARD_DIR
string

View File

@ -1,2 +0,0 @@
ramstage-y += ../../../drivers/i2c/adm1027/adm1027.c