Attention is currently required from: Jason Glenesk, Zheng Bao, Fred Reitberger, Felix Held.
Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/72963
to review the following change.
Change subject: mb/amd/birman: Add support for 32M flash ......................................................................
mb/amd/birman: Add support for 32M flash
The large part of AMDFW can be put to upper 16M.
Change-Id: Ic0306321f1452e4439a58e3bc5a197a614fce756 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/mainboard/amd/birman/Kconfig A src/mainboard/amd/birman/board-32M.fmd 2 files changed, 28 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/72963/1
diff --git a/src/mainboard/amd/birman/Kconfig b/src/mainboard/amd/birman/Kconfig index d669741..efff3f5 100644 --- a/src/mainboard/amd/birman/Kconfig +++ b/src/mainboard/amd/birman/Kconfig @@ -17,6 +17,7 @@
config FMDFILE default "src/mainboard/amd/birman/chromeos.fmd" if CHROMEOS + default "src/mainboard/amd/birman/board-32M.fmd" if BOARD_ROMSIZE_KB_32768 default "src/mainboard/amd/birman/board.fmd"
config MAINBOARD_DIR @@ -76,6 +77,10 @@ # This is a birman-specific override of soc/amd/(phoenix | glinda)/Kconfig default "apu/amdfw apu/ecfw"
+config AMDFW_SPLIT + bool + default y if BOARD_ROMSIZE_KB_32768 + config CHROMEOS # Use default libpayload config select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE diff --git a/src/mainboard/amd/birman/board-32M.fmd b/src/mainboard/amd/birman/board-32M.fmd new file mode 100644 index 0000000..d810c9f --- /dev/null +++ b/src/mainboard/amd/birman/board-32M.fmd @@ -0,0 +1,11 @@ +FLASH 32M { + BIOS_B 16M { + EC 1K + RW_MRC_CACHE 120K + FMAP 4K + COREBOOT(CBFS) + } + BIOS_T @16M 16M { + AMDFWBODY(CBFS) @2047K + } +} \ No newline at end of file