intel/apollolake: Add API for get_bios_size and use it

Hardware / Coreboot - Furquan Shaikh [google.com] - 22 June 2016 15:20 UTC

get_bios_size returns the value of bios_size. Use this function to calculate bios_size for caching in bootblock.

BUG=chrome-os-partner:54563

Change-Id: I2e592b1c52138bd4623ad2acd05c744224a8e50b

8065bd4 intel/apollolake: Add API for get_bios_size and use it
src/soc/intel/apollolake/bootblock/bootblock.c | 7 +++++--
src/soc/intel/apollolake/include/soc/mmap_boot.h | 22 ++++++++++++++++++++++
src/soc/intel/apollolake/mmap_boot.c | 12 +++++++-----
3 files changed, 34 insertions(+), 7 deletions(-)

Upstream: review.coreboot.org


  • Share