diff --git a/src/mainboard/intel/beechnutcity_crb/romstage.c b/src/mainboard/intel/beechnutcity_crb/romstage.c index ef91b39f93..a77819955c 100644 --- a/src/mainboard/intel/beechnutcity_crb/romstage.c +++ b/src/mainboard/intel/beechnutcity_crb/romstage.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "chip.h" @@ -32,7 +33,10 @@ void mainboard_memory_init_params(FSPM_UPD *mupd) CONFIG_BMC_KCS_BASE); /* Set BIOS regeion UPD, otherwise MTRR might set incorrectly during TempRamExit API */ - m_cfg->BiosRegionBase = FMAP_SECTION_SI_BIOS_START; + struct flash_mmap_window table; + spi_flash_get_mmap_windows(&table); + + m_cfg->BiosRegionBase = table.host_base + FMAP_SECTION_SI_BIOS_START; m_cfg->BiosRegionSize = FMAP_SECTION_SI_BIOS_SIZE; printk(BIOS_INFO, "BiosRegionBase is set to %x\n", mupd->FspmConfig.BiosRegionBase); printk(BIOS_INFO, "BiosRegionSize is set to %x\n", mupd->FspmConfig.BiosRegionSize);