lib/cbfs_core.c: Supply size of file as well in cbfs_get_file_content
Change-Id: I5b93e5321e470f19ad22ca2cfdb1ebf3b340b252 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4659 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
This commit is contained in:
@ -170,7 +170,7 @@ void sdram_initialize(struct pei_data *pei_data)
|
||||
|
||||
/* Locate and call UEFI System Agent binary. */
|
||||
entry = (unsigned long)cbfs_get_file_content(
|
||||
CBFS_DEFAULT_MEDIA, "mrc.bin", 0xab);
|
||||
CBFS_DEFAULT_MEDIA, "mrc.bin", 0xab, NULL);
|
||||
if (entry) {
|
||||
int rv;
|
||||
asm volatile (
|
||||
|
Reference in New Issue
Block a user