Subrata Banik has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/75998?usp=email )
Change subject: soc/intel/common/block/cse: Retrieve CSE RW FW version conditionally ......................................................................
soc/intel/common/block/cse: Retrieve CSE RW FW version conditionally
This patch introduces a newer config to store the CSE RW FW version into the CBMEM. Prior to that CSE RW FW version was fetched unconditionally and ended up increasing the boot time by 7ms to 20ms depending on the SoC arch (including CSE arch).
The way to retrieve the CSE firmware version is by sending the HECI command to read the CSE Boot Partition (BP) info. The cost of sending HECI command to read the CSE FW version is between 7ms-20ms (depending on the SoC architecture) hence,ensure this feature is platform specific and only enabled for the platformthat would like to store the CSE version into the CBMEM.
TEST=Build and boot google/rex to avoid getting CSE RW FW version to save 18ms of the boot time.
w/o this patch: 10:start of ramstage 722,215 (43) 17:starting LZ4 decompress (ignore for x86) 741,415 (19,200)
w/ this patch: 10:start of ramstage 722,257 (43) 17:starting LZ4 decompress (ignore for x86) 723,777 (1,520)
Signed-off-by: Subrata Banik subratabanik@google.com Change-Id: I94f9f0f99706724c7d7e05668390f3deb603bd32 --- M src/soc/intel/common/block/cse/Kconfig M src/soc/intel/common/block/cse/cse.c M src/soc/intel/common/block/cse/cse_lite.c 3 files changed, 20 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/75998/2