Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9221
-gerrit
commit 146a4b9014228f045764b03f15c616e1a020ee4b Author: Ryan Lin ryan.lin@intel.com Date: Wed Oct 1 15:53:39 2014 -0700
Broadwell: Reg_Script: add END tag to array "smbus_init_script"
Need END tag, "REG_SCRIPT_END", to indicate the end of smbus_init_script.
BUG=chromium:416651 TEST=test on Auron.
Change-Id: Ieeaf6c705aa673acc9bb2635e103c4148bc8742f Signed-off-by: Stefan Reinauer reinauer@chromium.org Original-Commit-Id: 172c5fc259a2f6d09daccb1fe53fe0aa7c5601e1 Original-Change-Id: I1f5624f4c6ce7f0e8ceb8971aaa595d99e9ff82e Original-Signed-off-by: Ryan Lin ryan.lin@intel.com Original-Reviewed-on: https://chromium-review.googlesource.com/220934 Original-Reviewed-by: Duncan Laurie dlaurie@chromium.org Original-Reviewed-by: Kenji Chen kenji.chen@intel.com --- src/soc/intel/broadwell/romstage/smbus.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/soc/intel/broadwell/romstage/smbus.c b/src/soc/intel/broadwell/romstage/smbus.c index 2bc1492..8b3cde3 100644 --- a/src/soc/intel/broadwell/romstage/smbus.c +++ b/src/soc/intel/broadwell/romstage/smbus.c @@ -39,6 +39,8 @@ static const struct reg_script smbus_init_script[] = { REG_IO_WRITE8(SMBUS_BASE_ADDRESS + SMBHSTCTL, 0), /* Clear errors */ REG_IO_WRITE8(SMBUS_BASE_ADDRESS + SMBHSTSTAT, 0xff), + /* Indicate the end of this array by REG_SCRIPT_END */ + REG_SCRIPT_END, };
void enable_smbus(void)