Hello build bot (Jenkins), Andrey Petrov, Aaron Durbin, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/46483
to look at the new patch set (#2).
Change subject: program_loading: Split source rdev and loaded memory region concepts ......................................................................
program_loading: Split source rdev and loaded memory region concepts
In the current struct prog API, prog_rdev() can refer to either the program binary on the storage media or the loaded program in memory, depending on at what time it was called. This context-dependent double meaning is a bit confusing, and it also makes it impossible to define the memory area the program should be loaded into before actually loading it (which will become necessary with the new stage header format). Therefore this patch splits the two so that the rdev will always only refer to the program binary on storage, and a new start pointer and size variable will represent the program in memory.
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: If7c0f1c5698fa0c326e23c553ea0fe928b25d202 --- M src/cpu/x86/mtrr/xip_cache.c M src/drivers/intel/fsp2_0/silicon_init.c M src/drivers/intel/fsp2_0/util.c M src/include/program_loading.h M src/soc/amd/common/block/pi/refcode_loader.c 5 files changed, 31 insertions(+), 25 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/46483/2