85cd9a1c93
On Apollo Lake/Gemini Lake platforms, FSP requires more than a simple RW_MRC_CACHE; without the RECOVERY and VAR cache regions, FSP-m will fail on s3 resume and trigger a full reset instead. This fixes the default.fmd for octopus to match that used for reef. Test: build/boot google/ampton, verify sleep/resume works under Linux with 5.x kernel. Change-Id: I8565aa93256df7d6e0b359d70e9305f34e5ccb60 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41016 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
28 lines
934 B
Text
28 lines
934 B
Text
FLASH 16M {
|
|
SI_DESC@0x0 0x1000
|
|
SI_BIOS@0x1000 0xf6f000 {
|
|
IFWI@0x0 0x1ff000
|
|
# SMMSTORE requires 64k alignment
|
|
SMMSTORE@0xa5e000 0x40000
|
|
UNIFIED_MRC_CACHE 0x21000 {
|
|
RECOVERY_MRC_CACHE 0x10000
|
|
RW_MRC_CACHE 0x10000
|
|
RW_VAR_MRC_CACHE 0x1000
|
|
}
|
|
FMAP 0x300
|
|
COREBOOT(CBFS)
|
|
BIOS_UNUSABLE 0x4f000
|
|
}
|
|
DEVICE_EXTENSION@0xf7f000 0x80000
|
|
# Currently, it is required that the BIOS region be a multiple of 8KiB.
|
|
# This is required so that the recovery mechanism can find SIGN_CSE
|
|
# region aligned to 4K at the center of BIOS region. Since the
|
|
# descriptor at the beginning uses 4K and BIOS starts at an offset of
|
|
# 4K, a hole of 4K is created towards the end of the flash to compensate
|
|
# for the size requirement of BIOS region.
|
|
# FIT tool thus creates descriptor with following regions:
|
|
# Descriptor --> 0 to 4K
|
|
# BIOS --> 4K to 0xf7f000
|
|
# Device ext --> 0xf7f000 to 0xfff000
|
|
UNUSED_HOLE@0xfff000 0x1000
|
|
}
|