commit | 0af61b6c82d7ff02426a26bf435b7c6ee768a602 | [log] [tgz] |
---|---|---|
author | Vladimir Serbinenko <phcoder@gmail.com> | Sun Jan 12 13:45:52 2014 +0100 |
committer | Vladimir Serbinenko <phcoder@gmail.com> | Sun Jan 12 17:41:02 2014 +0100 |
tree | 02066827b2a7ff20d11be95f7c344880a7f8e7dc | |
parent | e4ac9c043a9bb0a6601bbdca1a99a3811f7c94d8 [diff] [blame] |
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)
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c index e916c5e..5944eeb 100644 --- a/src/northbridge/intel/haswell/raminit.c +++ b/src/northbridge/intel/haswell/raminit.c
@@ -170,7 +170,7 @@ /* 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 (