MMCONF_SUPPORT: Flip default to enabled

Also remove separate MMCONF_SUPPORT_DEFAULT flag.

Change-Id: Idf1accdb93843a8fe2ee9c09fb984968652476e0
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/17694
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Kyösti Mälkki 2016-11-29 16:46:56 +02:00
parent 6f66f414a0
commit 3d15e10aef
46 changed files with 22 additions and 40 deletions

View File

@ -16,7 +16,6 @@
config CPU_AMD_AGESA_FAMILY10 config CPU_AMD_AGESA_FAMILY10
bool bool
select CPU_AMD_MODEL_10XXX select CPU_AMD_MODEL_10XXX
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY10 if CPU_AMD_AGESA_FAMILY10

View File

@ -15,7 +15,6 @@
config CPU_AMD_AGESA_FAMILY12 config CPU_AMD_AGESA_FAMILY12
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY12 if CPU_AMD_AGESA_FAMILY12

View File

@ -15,7 +15,6 @@
config CPU_AMD_AGESA_FAMILY14 config CPU_AMD_AGESA_FAMILY14
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY14 if CPU_AMD_AGESA_FAMILY14

View File

@ -15,7 +15,6 @@
config CPU_AMD_AGESA_FAMILY15 config CPU_AMD_AGESA_FAMILY15
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY15 if CPU_AMD_AGESA_FAMILY15

View File

@ -16,7 +16,6 @@
config CPU_AMD_AGESA_FAMILY15_RL config CPU_AMD_AGESA_FAMILY15_RL
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY15_RL if CPU_AMD_AGESA_FAMILY15_RL

View File

@ -15,7 +15,6 @@
config CPU_AMD_AGESA_FAMILY15_TN config CPU_AMD_AGESA_FAMILY15_TN
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY15_TN if CPU_AMD_AGESA_FAMILY15_TN

View File

@ -15,7 +15,6 @@
config CPU_AMD_AGESA_FAMILY16_KB config CPU_AMD_AGESA_FAMILY16_KB
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_AGESA_FAMILY16_KB if CPU_AMD_AGESA_FAMILY16_KB

View File

@ -6,7 +6,6 @@ config CPU_AMD_MODEL_10XXX
select ARCH_RAMSTAGE_X86_32 select ARCH_RAMSTAGE_X86_32
select SSE select SSE
select SSE2 select SSE2
select MMCONF_SUPPORT_DEFAULT
select TSC_SYNC_LFENCE select TSC_SYNC_LFENCE
select UDELAY_LAPIC select UDELAY_LAPIC
select HAVE_MONOTONIC_TIMER select HAVE_MONOTONIC_TIMER

View File

@ -24,6 +24,7 @@ if CPU_AMD_GEODE_GX2
config CPU_SPECIFIC_OPTIONS config CPU_SPECIFIC_OPTIONS
def_bool y def_bool y
select NO_MMCONF_SUPPORT
config DCACHE_RAM_BASE config DCACHE_RAM_BASE
hex hex

View File

@ -9,6 +9,7 @@ if CPU_AMD_GEODE_LX
config CPU_SPECIFIC_OPTIONS config CPU_SPECIFIC_OPTIONS
def_bool y def_bool y
select NO_MMCONF_SUPPORT
select TSC_MONOTONIC_TIMER select TSC_MONOTONIC_TIMER
config DCACHE_RAM_BASE config DCACHE_RAM_BASE

View File

@ -15,7 +15,6 @@
config CPU_AMD_PI_00630F01 config CPU_AMD_PI_00630F01
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_PI_00630F01 if CPU_AMD_PI_00630F01

View File

@ -15,7 +15,6 @@
config CPU_AMD_PI_00660F01 config CPU_AMD_PI_00660F01
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_PI_00660F01 if CPU_AMD_PI_00660F01

View File

@ -15,7 +15,6 @@
config CPU_AMD_PI_00670F00 config CPU_AMD_PI_00670F00
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_PI_00670F00 if CPU_AMD_PI_00670F00

View File

@ -15,7 +15,6 @@
config CPU_AMD_PI_00730F01 config CPU_AMD_PI_00730F01
bool bool
select MMCONF_SUPPORT_DEFAULT
select X86_AMD_FIXED_MTRRS select X86_AMD_FIXED_MTRRS
if CPU_AMD_PI_00730F01 if CPU_AMD_PI_00730F01

View File

@ -221,15 +221,11 @@ if PCI
config NO_MMCONF_SUPPORT config NO_MMCONF_SUPPORT
bool bool
default !MMCONF_SUPPORT_DEFAULT default n
config MMCONF_SUPPORT config MMCONF_SUPPORT
bool bool
default MMCONF_SUPPORT_DEFAULT default !NO_MMCONF_SUPPORT
config MMCONF_SUPPORT_DEFAULT
bool
default n
config HYPERTRANSPORT_PLUGIN_SUPPORT config HYPERTRANSPORT_PLUGIN_SUPPORT
bool bool

View File

@ -3,6 +3,7 @@ if BOARD_EMULATION_QEMU_X86_I440FX
config BOARD_SPECIFIC_OPTIONS # dummy config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select CPU_QEMU_X86 select CPU_QEMU_X86
select NO_MMCONF_SUPPORT
select SOUTHBRIDGE_INTEL_I82371EB select SOUTHBRIDGE_INTEL_I82371EB
select HAVE_OPTION_TABLE select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT select HAVE_CMOS_DEFAULT

View File

@ -5,7 +5,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select CPU_QEMU_X86 select CPU_QEMU_X86
select SOUTHBRIDGE_INTEL_I82801IX select SOUTHBRIDGE_INTEL_I82801IX
select IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS select IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
select MMCONF_SUPPORT_DEFAULT
# select HAVE_OPTION_TABLE # select HAVE_OPTION_TABLE
# select HAVE_PIRQ_TABLE # select HAVE_PIRQ_TABLE
select HAVE_ACPI_TABLES select HAVE_ACPI_TABLES

View File

@ -22,6 +22,14 @@ config NORTHBRIDGE_AMD_AMDK8
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
if NORTHBRIDGE_AMD_AMDK8 if NORTHBRIDGE_AMD_AMDK8
config NO_MMCONF_SUPPORT
bool
default y
help
If you want to remove this, you need to make sure any access to CPU
nodes 0:18.0, 0:19.0, ... continue to use PCI IO config access.
config AGP_APERTURE_SIZE config AGP_APERTURE_SIZE
hex hex
default 0x4000000 default 0x4000000

View File

@ -20,6 +20,7 @@ if NORTHBRIDGE_INTEL_E7505
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT

View File

@ -17,7 +17,6 @@
config NORTHBRIDGE_INTEL_FSP_RANGELEY config NORTHBRIDGE_INTEL_FSP_RANGELEY
bool bool
select CPU_INTEL_FSP_MODEL_406DX select CPU_INTEL_FSP_MODEL_406DX
select MMCONF_SUPPORT_DEFAULT
if NORTHBRIDGE_INTEL_FSP_RANGELEY if NORTHBRIDGE_INTEL_FSP_RANGELEY

View File

@ -18,13 +18,11 @@ config NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE
bool bool
select CPU_INTEL_FSP_MODEL_206AX select CPU_INTEL_FSP_MODEL_206AX
select INTEL_GMA_ACPI select INTEL_GMA_ACPI
select MMCONF_SUPPORT_DEFAULT
config NORTHBRIDGE_INTEL_FSP_IVYBRIDGE config NORTHBRIDGE_INTEL_FSP_IVYBRIDGE
bool bool
select CPU_INTEL_FSP_MODEL_306AX select CPU_INTEL_FSP_MODEL_306AX
select INTEL_GMA_ACPI select INTEL_GMA_ACPI
select MMCONF_SUPPORT_DEFAULT
if NORTHBRIDGE_INTEL_FSP_IVYBRIDGE || NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE if NORTHBRIDGE_INTEL_FSP_IVYBRIDGE || NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE

View File

@ -21,7 +21,6 @@ if NORTHBRIDGE_INTEL_GM45
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select MMCONF_SUPPORT_DEFAULT
select VGA select VGA
select INTEL_EDID select INTEL_EDID
select INTEL_GMA_ACPI select INTEL_GMA_ACPI

View File

@ -16,7 +16,6 @@
config NORTHBRIDGE_INTEL_HASWELL config NORTHBRIDGE_INTEL_HASWELL
bool bool
select CPU_INTEL_HASWELL select CPU_INTEL_HASWELL
select MMCONF_SUPPORT_DEFAULT
select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
select INTEL_DDI select INTEL_DDI
select INTEL_DP select INTEL_DP

View File

@ -1,5 +1,6 @@
config NORTHBRIDGE_INTEL_I3100 config NORTHBRIDGE_INTEL_I3100
bool bool
select NO_MMCONF_SUPPORT
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
select UDELAY_IO select UDELAY_IO

View File

@ -15,6 +15,7 @@
config NORTHBRIDGE_INTEL_I440BX config NORTHBRIDGE_INTEL_I440BX
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
select UDELAY_IO select UDELAY_IO

View File

@ -15,7 +15,6 @@
config NORTHBRIDGE_INTEL_I5000 config NORTHBRIDGE_INTEL_I5000
bool bool
select MMCONF_SUPPORT_DEFAULT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT

View File

@ -15,6 +15,7 @@
config NORTHBRIDGE_INTEL_I82810 config NORTHBRIDGE_INTEL_I82810
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
select UDELAY_IO select UDELAY_IO

View File

@ -1,5 +1,6 @@
config NORTHBRIDGE_INTEL_I82830 config NORTHBRIDGE_INTEL_I82830
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
select UDELAY_IO select UDELAY_IO

View File

@ -1,5 +1,6 @@
config NORTHBRIDGE_INTEL_I855 config NORTHBRIDGE_INTEL_I855
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT

View File

@ -20,7 +20,6 @@ if NORTHBRIDGE_INTEL_I945
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select MMCONF_SUPPORT_DEFAULT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LAPIC_MONOTONIC_TIMER select LAPIC_MONOTONIC_TIMER
select VGA select VGA

View File

@ -16,7 +16,6 @@
config NORTHBRIDGE_INTEL_NEHALEM config NORTHBRIDGE_INTEL_NEHALEM
bool bool
select CPU_INTEL_MODEL_2065X select CPU_INTEL_MODEL_2065X
select MMCONF_SUPPORT_DEFAULT
select VGA select VGA
select INTEL_EDID select INTEL_EDID
select TSC_MONOTONIC_TIMER select TSC_MONOTONIC_TIMER

View File

@ -21,7 +21,6 @@ if NORTHBRIDGE_INTEL_PINEVIEW
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select MMCONF_SUPPORT_DEFAULT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LAPIC_MONOTONIC_TIMER select LAPIC_MONOTONIC_TIMER
select LATE_CBMEM_INIT select LATE_CBMEM_INIT

View File

@ -16,7 +16,6 @@
config NORTHBRIDGE_INTEL_SANDYBRIDGE config NORTHBRIDGE_INTEL_SANDYBRIDGE
bool bool
select MMCONF_SUPPORT_DEFAULT
select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
select CPU_INTEL_MODEL_206AX select CPU_INTEL_MODEL_206AX
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
@ -25,7 +24,6 @@ config NORTHBRIDGE_INTEL_SANDYBRIDGE
config NORTHBRIDGE_INTEL_IVYBRIDGE config NORTHBRIDGE_INTEL_IVYBRIDGE
bool bool
select MMCONF_SUPPORT_DEFAULT
select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
select CPU_INTEL_MODEL_306AX select CPU_INTEL_MODEL_306AX
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP

View File

@ -22,7 +22,6 @@ if NORTHBRIDGE_INTEL_X4X
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select MMCONF_SUPPORT_DEFAULT
select VGA select VGA
select INTEL_GMA_ACPI select INTEL_GMA_ACPI
select EARLY_CBMEM_INIT select EARLY_CBMEM_INIT

View File

@ -1,5 +1,6 @@
config NORTHBRIDGE_VIA_CN700 config NORTHBRIDGE_VIA_CN700
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select LATE_CBMEM_INIT select LATE_CBMEM_INIT

View File

@ -1,5 +1,6 @@
config NORTHBRIDGE_VIA_CX700 config NORTHBRIDGE_VIA_CX700
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select HAVE_DEBUG_SMBUS select HAVE_DEBUG_SMBUS
select HAVE_HARD_RESET select HAVE_HARD_RESET

View File

@ -1,5 +1,6 @@
config NORTHBRIDGE_VIA_VX800 config NORTHBRIDGE_VIA_VX800
bool bool
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select HAVE_DEBUG_SMBUS select HAVE_DEBUG_SMBUS
select LATE_CBMEM_INIT select LATE_CBMEM_INIT

View File

@ -21,7 +21,6 @@ config NORTHBRIDGE_VIA_VX900
select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_RAM_SETUP
select HAVE_DEBUG_SMBUS select HAVE_DEBUG_SMBUS
select HAVE_HARD_RESET select HAVE_HARD_RESET
select MMCONF_SUPPORT_DEFAULT
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
if NORTHBRIDGE_VIA_VX900 if NORTHBRIDGE_VIA_VX900

View File

@ -32,7 +32,6 @@ config CPU_SPECIFIC_OPTIONS
select GENERIC_GPIO_LIB select GENERIC_GPIO_LIB
select HAVE_INTEL_FIRMWARE select HAVE_INTEL_FIRMWARE
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select MMCONF_SUPPORT_DEFAULT
select MRC_SETTINGS_PROTECT select MRC_SETTINGS_PROTECT
select NO_FIXED_XIP_ROM_SIZE select NO_FIXED_XIP_ROM_SIZE
select NO_XIP_EARLY_STAGES select NO_XIP_EARLY_STAGES

View File

@ -18,7 +18,6 @@ config CPU_SPECIFIC_OPTIONS
select SUPPORT_CPU_UCODE_IN_CBFS select SUPPORT_CPU_UCODE_IN_CBFS
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select HAVE_HARD_RESET select HAVE_HARD_RESET
select MMCONF_SUPPORT_DEFAULT
select NO_FIXED_XIP_ROM_SIZE select NO_FIXED_XIP_ROM_SIZE
select RELOCATABLE_MODULES select RELOCATABLE_MODULES
select RELOCATABLE_RAMSTAGE select RELOCATABLE_RAMSTAGE

View File

@ -21,7 +21,6 @@ config CPU_SPECIFIC_OPTIONS
select HAVE_MONOTONIC_TIMER select HAVE_MONOTONIC_TIMER
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select HAVE_HARD_RESET select HAVE_HARD_RESET
select MMCONF_SUPPORT_DEFAULT
select NO_FIXED_XIP_ROM_SIZE select NO_FIXED_XIP_ROM_SIZE
select RELOCATABLE_MODULES select RELOCATABLE_MODULES
select PARALLEL_MP select PARALLEL_MP

View File

@ -23,7 +23,6 @@ config CPU_SPECIFIC_OPTIONS
select HAVE_HARD_RESET select HAVE_HARD_RESET
select HAVE_USBDEBUG select HAVE_USBDEBUG
select IOAPIC select IOAPIC
select MMCONF_SUPPORT_DEFAULT
select RELOCATABLE_MODULES select RELOCATABLE_MODULES
select RELOCATABLE_RAMSTAGE select RELOCATABLE_RAMSTAGE
select REG_SCRIPT select REG_SCRIPT

View File

@ -30,7 +30,6 @@ config CPU_SPECIFIC_OPTIONS
select ARCH_RAMSTAGE_X86_32 select ARCH_RAMSTAGE_X86_32
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select HAVE_HARD_RESET select HAVE_HARD_RESET
select MMCONF_SUPPORT_DEFAULT
select RELOCATABLE_MODULES select RELOCATABLE_MODULES
select PARALLEL_MP select PARALLEL_MP
select REG_SCRIPT select REG_SCRIPT

View File

@ -13,7 +13,6 @@ config CPU_SPECIFIC_OPTIONS
select ARCH_ROMSTAGE_X86_32 select ARCH_ROMSTAGE_X86_32
select ARCH_RAMSTAGE_X86_32 select ARCH_RAMSTAGE_X86_32
select HAVE_HARD_RESET select HAVE_HARD_RESET
select MMCONF_SUPPORT_DEFAULT
select RELOCATABLE_MODULES select RELOCATABLE_MODULES
select PARALLEL_MP select PARALLEL_MP
select SMP select SMP

View File

@ -15,7 +15,6 @@
config SOC_INTEL_SCH config SOC_INTEL_SCH
bool bool
select MMCONF_SUPPORT_DEFAULT
select LATE_CBMEM_INIT select LATE_CBMEM_INIT
select INTEL_GMA_ACPI select INTEL_GMA_ACPI
select SOUTHBRIDGE_INTEL_COMMON select SOUTHBRIDGE_INTEL_COMMON

View File

@ -28,7 +28,6 @@ config CPU_SPECIFIC_OPTIONS
select HAVE_MONOTONIC_TIMER select HAVE_MONOTONIC_TIMER
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select IOAPIC select IOAPIC
select MMCONF_SUPPORT_DEFAULT
select NO_FIXED_XIP_ROM_SIZE select NO_FIXED_XIP_ROM_SIZE
select MRC_SETTINGS_PROTECT select MRC_SETTINGS_PROTECT
select PARALLEL_MP select PARALLEL_MP