butterfly: fix compilation with !CHROMEOS
One of arguments to cbfs_get_file_content was missing. Change-Id: Icb4ef26f18d63c133bc32f1c62a524edee0621ea Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4696 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
c18e52122d
commit
b4c39902ed
|
@ -307,7 +307,8 @@ static void mainboard_init(device_t dev)
|
|||
search_length = find_fmap_entry("RO_VPD", (void **)vpd_region_ptr);
|
||||
search_address = (unsigned long)(*vpd_region_ptr);
|
||||
#else
|
||||
void *vpd_file = cbfs_get_file_content(CBFS_DEFAULT_MEDIA, "vpd.bin", &search_length);
|
||||
void *vpd_file = cbfs_get_file_content(CBFS_DEFAULT_MEDIA, "vpd.bin",
|
||||
CBFS_TYPE_RAW, &search_length);
|
||||
if (vpd_file) {
|
||||
search_address = (unsigned long)vpd_file;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue