Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/28164
Change subject: soc/amd/common/block/pi/agesawarapper.c: Use find_image() ......................................................................
soc/amd/common/block/pi/agesawarapper.c: Use find_image()
In preparation to removing AmdLib, replace function LibAmdLocateImage() with its ported version find_image().
BUG=b:112625809 TEST=Build and boot grunt.
Change-Id: I75ddd55f7e3e7f2cd7914f97c99b62690ae70660 Signed-off-by: Richard Spiegel richard.spiegel@silverbackltd.com --- M src/soc/amd/common/block/pi/agesawrapper.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/28164/1
diff --git a/src/soc/amd/common/block/pi/agesawrapper.c b/src/soc/amd/common/block/pi/agesawrapper.c index c464b29..9a0f60d 100644 --- a/src/soc/amd/common/block/pi/agesawrapper.c +++ b/src/soc/amd/common/block/pi/agesawrapper.c @@ -604,7 +604,7 @@ if (!agesa) return NULL;
- image = LibAmdLocateImage(agesa, agesa + file_size, 4096, name); + image = find_image(agesa, agesa + file_size, 4096, name);
if (!image) return NULL;