Attention is currently required from: Felix Held, Fred Reitberger, Jason Glenesk, Zheng Bao.
Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/85648?usp=email
to review the following change.
Change subject: AMD A/B recovery: Add flashmap data for B partition ......................................................................
AMD A/B recovery: Add flashmap data for B partition
Change-Id: I5eb4cc8a5a64f47a9a7fe2085e3b601fe7162ffb Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/mainboard/amd/birman/board_glinda.fmd M src/mainboard/amd/birman/board_phoenix.fmd M src/mainboard/amd/majolica/Kconfig A src/mainboard/amd/majolica/board_ab.fmd 4 files changed, 32 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/85648/1
diff --git a/src/mainboard/amd/birman/board_glinda.fmd b/src/mainboard/amd/birman/board_glinda.fmd index 7567090..c1367be 100644 --- a/src/mainboard/amd/birman/board_glinda.fmd +++ b/src/mainboard/amd/birman/board_glinda.fmd @@ -1,8 +1,14 @@ -FLASH@0xFF000000 16M { +FLASH 16M { BIOS { EC_SIG 4K FMAP 4K - COREBOOT(CBFS) + EFS @128K + PARTITIION @8M { + COREBOOT(CBFS) + } + BCOPY @12M { + COREBOOTB(CBFS) + } EC_BODY@15872K 256K RW_MRC_CACHE 120K } diff --git a/src/mainboard/amd/birman/board_phoenix.fmd b/src/mainboard/amd/birman/board_phoenix.fmd index bc09fe7..9cccec2 100644 --- a/src/mainboard/amd/birman/board_phoenix.fmd +++ b/src/mainboard/amd/birman/board_phoenix.fmd @@ -1,8 +1,15 @@ -FLASH@0xFF000000 16M { +FLASH 16M { BIOS { EC_SIG 4K FMAP 4K - COREBOOT(CBFS) + EFS @128K + PARTITIION @2M { + COREBOOT(CBFS) + } + BCOPY @8M { + COREBOOTB(CBFS) + } +# COREBOOT(CBFS) EC_BODY@15872K 256K RW_MRC_CACHE 256K } diff --git a/src/mainboard/amd/majolica/Kconfig b/src/mainboard/amd/majolica/Kconfig index a167dff..569fe52 100644 --- a/src/mainboard/amd/majolica/Kconfig +++ b/src/mainboard/amd/majolica/Kconfig @@ -15,6 +15,7 @@
config FMDFILE default "src/mainboard/amd/majolica/chromeos.fmd" if CHROMEOS + default "src/mainboard/amd/majolica/board_ab.fmd" if PSP_AB_RECOVERY default "src/mainboard/amd/majolica/board.fmd"
config MAINBOARD_DIR diff --git a/src/mainboard/amd/majolica/board_ab.fmd b/src/mainboard/amd/majolica/board_ab.fmd new file mode 100644 index 0000000..2b5dac9 --- /dev/null +++ b/src/mainboard/amd/majolica/board_ab.fmd @@ -0,0 +1,14 @@ +FLASH@0xFF000000 16M { + BIOS { + EC 128K + RW_MRC_CACHE 64K + FMAP 4K + EFS @8519680 1M + PARTITIION @10M { + COREBOOT(CBFS) + } + BCOPY @13M { + COREBOOTB(CBFS) + } + } +}