soc/intel/apollolake: Bypass FSP's CpuMemorytest, PCIe pwr seq & SPI Init
commit5af546c5e40835145fee6eff4f43283bea80db91
authorSrinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Tue, 15 May 2018 06:33:55 +0000 (14 23:33 -0700)
committerAaron Durbin <adurbin@chromium.org>
Tue, 22 May 2018 15:52:20 +0000 (22 15:52 +0000)
treedd274c0cf0c11ea0d44198841db52084f7cd728b
parentee3158fd6cf27397384550de613085cc11426009
soc/intel/apollolake: Bypass FSP's CpuMemorytest, PCIe pwr seq & SPI Init

CpuMemoryTest in FSP tests 0 to 1M of the RAM after MRC init. With
PAGING_IN_CACHE_AS_RAM enabled for GLK, there was no page table
entry for this range which caused a page fault. Since this test
is anyway not exhaustive, we will skip the memory test in FSP.

There is an option to do PCIe power sequence from within FSP if provided
with the GPIOs used for PERST to FSP. Since we do this from coreboot,
will skip the PCIe power sequence done by FSP.

FSP does not know what the clock requirements are for the device on
SPI bus, hence it should not modify what coreboot has set up. Hence
skipping SPI clock programming in FSP.

CQ-DEPEND=CL:*627827
BUG=b:78599939, b:78599576, b:76058338
BRANCH=None
TEST=Build coreboot for Octopus board.

Change-Id: I4fa7a73fbb4676bb7af2416c8a33bf10ef41dd53
Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Reviewed-on: https://review.coreboot.org/26284
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/apollolake/chip.c
src/soc/intel/apollolake/romstage.c