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:
parent
7627f7f22d
commit
7f782a8f0b
|
@ -3,8 +3,8 @@ if BOARD_AMD_SERENGETI_CHEETAH
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
select ARCH_X86
|
select ARCH_X86
|
||||||
select SOUTHBRIDGE_AMD_AMD8132
|
select SOUTHBRIDGE_AMD_AMD8132
|
||||||
select SOUTHBRIDGE_AMD_AMD8151
|
select SOUTHBRIDGE_AMD_AMD8151
|
||||||
select CPU_AMD_SOCKET_F
|
select CPU_AMD_SOCKET_F
|
||||||
select DIMM_DDR2
|
select DIMM_DDR2
|
||||||
select DIMM_REGISTERED
|
select DIMM_REGISTERED
|
||||||
|
@ -27,6 +27,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select BOARD_ROMSIZE_KB_512
|
select BOARD_ROMSIZE_KB_512
|
||||||
select RAMINIT_SYSINFO
|
select RAMINIT_SYSINFO
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_I2CMUX
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -17,4 +17,3 @@
|
||||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
##
|
##
|
||||||
|
|
||||||
ramstage-y += ../../../drivers/i2c/i2cmux/i2cmux.c
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select ENABLE_APIC_EXT_ID
|
select ENABLE_APIC_EXT_ID
|
||||||
select LIFT_BSP_APIC_ID
|
select LIFT_BSP_APIC_ID
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_I2CMUX2
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -17,4 +17,3 @@
|
||||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
##
|
##
|
||||||
|
|
||||||
ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select BOARD_ROMSIZE_KB_512
|
select BOARD_ROMSIZE_KB_512
|
||||||
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
|
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_I2CMUX2
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# Needed by irq_tables and mptable and acpi_tables.
|
# Needed by irq_tables and mptable and acpi_tables.
|
||||||
|
|
||||||
ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select RAMINIT_SYSINFO
|
select RAMINIT_SYSINFO
|
||||||
# select SB_HT_CHAIN_UNITID_OFFSET_ONLY
|
# select SB_HT_CHAIN_UNITID_OFFSET_ONLY
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_I2CMUX
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
ramstage-y += ../../../drivers/i2c/i2cmux/i2cmux.c
|
|
|
@ -19,6 +19,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select BOARD_ROMSIZE_KB_512
|
select BOARD_ROMSIZE_KB_512
|
||||||
select RAMINIT_SYSINFO
|
select RAMINIT_SYSINFO
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_ADM1027
|
||||||
|
select DRIVERS_I2C_I2CMUX2
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -17,7 +17,3 @@
|
||||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
## 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
|
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
select K8_ALLOCATE_IO_RANGE
|
select K8_ALLOCATE_IO_RANGE
|
||||||
select SET_FIDVID
|
select SET_FIDVID
|
||||||
|
select DRIVERS_I2C_I2CMUX2
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -17,6 +17,4 @@
|
||||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
## 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.
|
# Needed by irq_tables and mptable and acpi_tables.
|
||||||
|
|
|
@ -19,4 +19,3 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
ROMCCFLAGS=-mcpu=p4 -O2
|
ROMCCFLAGS=-mcpu=p4 -O2
|
||||||
ramstage-y += ../../../drivers/generic/debug/debug_dev.c
|
|
||||||
|
|
|
@ -19,4 +19,3 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
ROMCCFLAGS=-mcpu=p4 -O2
|
ROMCCFLAGS=-mcpu=p4 -O2
|
||||||
ramstage-y += ../../../drivers/generic/debug/debug_dev.c
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
|
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
|
||||||
select DRIVERS_SIL_3114
|
select DRIVERS_SIL_3114
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_ADT7463
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
ramstage-y += ../../../drivers/i2c/adt7463/adt7463.c
|
|
|
@ -18,6 +18,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select HAVE_ACPI_TABLES
|
select HAVE_ACPI_TABLES
|
||||||
select BOARD_ROMSIZE_KB_1024
|
select BOARD_ROMSIZE_KB_1024
|
||||||
select QRANK_DIMM_SUPPORT
|
select QRANK_DIMM_SUPPORT
|
||||||
|
select DRIVERS_I2C_ADM1027
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
ramstage-y += ../../../drivers/i2c/adm1027/adm1027.c
|
|
Loading…
Reference in New Issue