amd/stoneyridge: Remove EXT_CONF_SUPPORT check
The EXT_CONF_SUPPORT symbol doesn't exist for the Stoney Ridge SoC.
Clean up northbridge.c by removing the check for the config value set.
Remove the CPU initialization code that clears the EnableCf8ExtCfg
bit. The location where it was set was removed in
c1d72942
Disable PCI_CFG_EXT_IO
BUG=b:66202622
Change-Id: Ic58c47fc5f568d17f5027c96d4152b0e5b3e1d14
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/21497
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
29f1b74795
commit
bbf91af9a2
|
@ -71,11 +71,6 @@ static void model_15_init(device_t dev)
|
||||||
/* Enable the local CPU APICs */
|
/* Enable the local CPU APICs */
|
||||||
setup_lapic();
|
setup_lapic();
|
||||||
|
|
||||||
/* DisableCf8ExtCfg */
|
|
||||||
msr = rdmsr(NB_CFG_MSR);
|
|
||||||
msr.hi &= ~(1 << (46 - 32));
|
|
||||||
wrmsr(NB_CFG_MSR, msr);
|
|
||||||
|
|
||||||
/* Write protect SMM space with SMMLOCK. */
|
/* Write protect SMM space with SMMLOCK. */
|
||||||
msr = rdmsr(HWCR_MSR);
|
msr = rdmsr(HWCR_MSR);
|
||||||
msr.lo |= (1 << 0);
|
msr.lo |= (1 << 0);
|
||||||
|
|
|
@ -44,10 +44,6 @@
|
||||||
#include <Porting.h>
|
#include <Porting.h>
|
||||||
#include <Topology.h>
|
#include <Topology.h>
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_EXT_CONF_SUPPORT)
|
|
||||||
#error CONFIG_EXT_CONF_SUPPORT == 1 not support anymore!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct dram_base_mask {
|
typedef struct dram_base_mask {
|
||||||
u32 base; /* [47:27] at [28:8] */
|
u32 base; /* [47:27] at [28:8] */
|
||||||
u32 mask; /* [47:27] at [28:8] and enable at bit 0 */
|
u32 mask; /* [47:27] at [28:8] and enable at bit 0 */
|
||||||
|
|
Loading…
Reference in New Issue