Fred Reitberger has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61717 )
Change subject: mb/amd/chausie: Move EFS into FMAP section ......................................................................
mb/amd/chausie: Move EFS into FMAP section
The chausie mainboard uses the first 128kByte of SPI flash for the EC firmware. The EFS/amdfw should be placed at the 128kByte offset. Due to this, there is no room for the CBFS headers. The AMD_SOC_SEPARATE_EFS_SECTION option is used to locate the EFS/amdfw via FMAP outside of the main CBFS, and move the CBFS to a later location.
This patch enables AMD_SOC_SEPARATE_EFS_SECTION for chausie mainboards.
Change-Id: I8b5bddef199f5082bc5b541ef39a668160e9afff Signed-off-by: Fred Reitberger reitbergerfred@gmail.com --- M src/mainboard/amd/chausie/Kconfig M src/mainboard/amd/chausie/board.fmd 2 files changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/61717/1
diff --git a/src/mainboard/amd/chausie/Kconfig b/src/mainboard/amd/chausie/Kconfig index dc6e090..873d73f 100644 --- a/src/mainboard/amd/chausie/Kconfig +++ b/src/mainboard/amd/chausie/Kconfig @@ -10,6 +10,7 @@ select SOC_AMD_COMMON_BLOCK_USE_ESPI select AMD_SOC_CONSOLE_UART select MAINBOARD_HAS_CHROMEOS + select AMD_SOC_SEPARATE_EFS_SECTION if !CHROMEOS
config FMDFILE default "src/mainboard/amd/chausie/chromeos.fmd" if CHROMEOS @@ -24,7 +25,7 @@ config AMD_FWM_POSITION_INDEX int default 3 if CHROMEOS - default 4 + default 5 help TODO: might need to be adapted for better placement of files in cbfs
diff --git a/src/mainboard/amd/chausie/board.fmd b/src/mainboard/amd/chausie/board.fmd index 442d80f..3475c41 100644 --- a/src/mainboard/amd/chausie/board.fmd +++ b/src/mainboard/amd/chausie/board.fmd @@ -1,6 +1,7 @@ FLASH@0xFF000000 16M { BIOS { EC 128K + EFS 3M RW_MRC_CACHE 64K FMAP 4K COREBOOT(CBFS)