soc/intel/apollolake: use fast_spi_cache_bios_region()
commitefc92a86c2826f6fbac8c9c6098eb114c75bf9dd
authorAaron Durbin <adurbin@chromium.org>
Thu, 8 Jun 2017 15:54:59 +0000 (8 10:54 -0500)
committerAaron Durbin <adurbin@chromium.org>
Fri, 9 Jun 2017 16:28:30 +0000 (9 18:28 +0200)
treefce1c0dd54442cb64048102db8ed2cd77b733bda
parent0b34fc6f54074673099e267a0806c656afd68172
soc/intel/apollolake: use fast_spi_cache_bios_region()

The fast_spi_cache_bios_region() does the necessary lookup
of BIOS region size, etc. Don't inline the calculation and
just defer to the common piece of code for memory-mapped
spi flash boot.

Change-Id: I6c390aa5a57244308016cd59679d8c3ab02031b8
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/20116
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Barnali Sarkar <barnali.sarkar@intel.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/soc/intel/apollolake/cpu.c