mainboard/google/poppy/variants/rammus: Enable GSPI clock for bus 0.

On rammus, system halt was observed because of gspi clk value being set to 0.

Log info from serial coreboot:
FMAP: area RW_NVRAM found @ 9fa000 (24576 bytes)
SF: Detected FAST_SPI Hardware Sequencer with sector size 0x1000, total 0x1000000
VBNV: Restore from flash failed
ASSERTION ERROR: file 'src/soc/intel/common/block/gspi/gspi.c', line 443

gspi.c
442
443     assert(gspi_clk_mhz != 0);
444     assert(ref_clk_mhz != 0);
445     return (DIV_ROUND_UP(ref_clk_mhz, gspi_clk_mhz) - 1) & SSCR0_SCR_MASK;

BUG=none
BRANCH=master
TEST=emerge-rammus coreboot chromeos-ec chromeos-bootimage
Flash FW to DUT, and make sure system boots up.

Change-Id: Ibe3937902901b2cdc1a196415c08fabb0f3155f2
Signed-off-by: YanRu Chen <kane_chen@pegatron.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/28405
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
kane_chen 2018-08-31 17:38:07 +08:00 committed by Patrick Georgi
parent 013ebbfa58
commit e781856af1
1 changed files with 4 additions and 0 deletions

View File

@ -203,6 +203,10 @@ chip soc/intel/skylake
.sda_hold = 36, .sda_hold = 36,
}, },
}, },
.gspi[0] = {
.speed_mhz = 1,
.early_init = 1,
},
}" }"
# Touchscreen # Touchscreen