Susendra Selvaraj (susendra.selvaraj(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15496
-gerrit
commit d0f20cc1a9e20837dd40961ba11544e06c5ed433
Author: sselvar2 <susendra.selvaraj(a)intel.com>
Date: Thu Jun 9 21:06:34 2016 +0530
intel/amenia: Write Protect GPIO relative to Bank offset
Update the write protect GPIO reported in ACPI to 0x8023 w.r.t
bank offset. ALso update the controller ID to Broxton which
will point at the goldmont device and includes write protect GPIO.
BUG=none
BRANCH=none
TEST=verify crossystem output for wpsw_cur.
Change-Id: Id6b172e289976072836746c1814e0300544a06cb
Signed-off-by: sselvar2 <susendra.selvaraj(a)intel.com>
Reviewed-on: https://coreboot.intel.com/7771
Reviewed-by: Sparry, Icarus W <icarus.w.sparry(a)intel.com>
Reviewed-by: Petrov, Andrey <andrey.petrov(a)intel.com>
Tested-by: Petrov, Andrey <andrey.petrov(a)intel.com>
---
.../intel/amenia/acpi/chromeos_amenia.asl | 24 ++++++++++++++++++++++
src/mainboard/intel/amenia/dsdt.asl | 7 +++++++
2 files changed, 31 insertions(+)
diff --git a/src/mainboard/intel/amenia/acpi/chromeos_amenia.asl b/src/mainboard/intel/amenia/acpi/chromeos_amenia.asl
new file mode 100644
index 0000000..5b5565b
--- /dev/null
+++ b/src/mainboard/intel/amenia/acpi/chromeos_amenia.asl
@@ -0,0 +1,24 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2013 Google Inc.
+ * Copyright (C) 2016 Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <soc/gpio_defs.h>
+
+Name (OIPG, Package () {
+ /* No physical recovery GPIO. */
+ Package () { 0x0001, 0, 0xFFFFFFFF, "Broxton" },
+ /* Firmware write protect GPIO. */
+ Package () { 0x0003, 1, 0x8023, "Broxton" },
+})
diff --git a/src/mainboard/intel/amenia/dsdt.asl b/src/mainboard/intel/amenia/dsdt.asl
index 4a64f87..19450d8 100644
--- a/src/mainboard/intel/amenia/dsdt.asl
+++ b/src/mainboard/intel/amenia/dsdt.asl
@@ -37,6 +37,13 @@ DefinitionBlock(
#include <soc/intel/apollolake/acpi/southbridge.asl>
}
}
+
+ #if IS_ENABLED(CONFIG_CHROMEOS)
+ /* Chrome OS specific */
+ #include "acpi/chromeos_amenia.asl"
+ #include <vendorcode/google/chromeos/acpi/chromeos.asl>
+ #endif
+
/* Mainboard Specific devices */
#include "acpi/mainboard.asl"
the following patch was just integrated into master:
commit 165b6cf5c1192439838df83158c92313451f7777
Author: Furquan Shaikh <furquan(a)google.com>
Date: Mon Jun 27 16:19:09 2016 -0700
vbnv: Do not silently reset cache in read_vbnv
Currently, read_vbnv performs a reset of the vbnv cache if it is not
valid. However, this information is not passed up to the vboot layer,
thus resulting in missed write-back of vbnv cache to storage if vboot
does not update the cache itself.
Update read_vbnv to return a value depending upon whether it wants a
write-back to be performed when save is called.
Return value:
0 = No write-back required
1 = Write-back of VBNV cache is required.
Change-Id: I239939d5f9731d89a9d53fe662321b93fc1ab113
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
Reviewed-on: https://review.coreboot.org/15457
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See https://review.coreboot.org/15457 for details.
-gerrit
the following patch was just integrated into master:
commit 1891bfdac65f02769a5581d274b668a9e0dbf176
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Sun Jun 26 14:03:55 2016 +0300
intel/haswell: No need for ACPI S3 resume backup
Platform is with RELOCATABLE_RAMSTAGE so nothing to backup.
Change-Id: I2397db8affb084e34ca89dac4840f966b994e636
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-on: https://review.coreboot.org/15462
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See https://review.coreboot.org/15462 for details.
-gerrit
Werner Zeh (werner.zeh(a)siemens.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15495
-gerrit
commit 47acf27099391b30ac5f40501eb2213dcbdf198e
Author: Werner Zeh <werner.zeh(a)siemens.com>
Date: Wed Jun 29 07:17:21 2016 +0200
fsp_broadwell_de: Enable Super-IO address range decode
If there is an external 16550 like UART, one need to enable
the appropriate address ranges before console_init() is called
so that the init sequence can reach the external UART. Otherwise
the UART will only start working in ramstage and will produce
unreadable characters in romstage due to the lack of initialization.
Change-Id: Iafc5b5b6df14916c5ed778928521d4a8f539cf46
Signed-off-by: Werner Zeh <werner.zeh(a)siemens.com>
---
src/soc/intel/fsp_broadwell_de/include/soc/lpc.h | 4 +++-
src/soc/intel/fsp_broadwell_de/romstage/romstage.c | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/soc/intel/fsp_broadwell_de/include/soc/lpc.h b/src/soc/intel/fsp_broadwell_de/include/soc/lpc.h
index 2c02ebd..0408f7f 100644
--- a/src/soc/intel/fsp_broadwell_de/include/soc/lpc.h
+++ b/src/soc/intel/fsp_broadwell_de/include/soc/lpc.h
@@ -21,6 +21,8 @@
#define REVID 0x08
#define PIRQ_RCR1 0x60
#define PIRQ_RCR2 0x68
+#define LPC_IO_DEC 0x80
+#define LPC_EN 0x82
#define GEN_PMCON_1 0xA0
#define GEN_PMCON_2 0xA2
#define GEN_PMCON_3 0xA4
@@ -83,4 +85,4 @@
#define TCO_TMR_HALT (1 << 11)
#define TCO_TMR 0x70
-#endif /* _SOC_LPC_H_ */
\ No newline at end of file
+#endif /* _SOC_LPC_H_ */
diff --git a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c
index dc883a4..925d284 100644
--- a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c
+++ b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c
@@ -48,6 +48,9 @@ static void init_rtc(void)
void *asmlinkage main(FSP_INFO_HEADER *fsp_info_header)
{
post_code(0x40);
+ /* Enable decoding of I/O locations for SuperIO devices */
+ pci_write_config16(PCI_DEV(0x0, LPC_DEV, LPC_FUNC), LPC_IO_DEC, 0x0010);
+ pci_write_config16(PCI_DEV(0x0, LPC_DEV, LPC_FUNC), LPC_EN, 0x340f);
console_init();
init_rtc();
Andrey Petrov (andrey.petrov(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15494
-gerrit
commit 64a6385b558d4b241573e73523bfa35d9d353a24
Author: Andrey Petrov <andrey.petrov(a)intel.com>
Date: Tue Jun 28 17:37:09 2016 -0700
soc/intel/apollolake: Let CSE know Ring Buffer Protocol is not needed
On Apollolake CSE can be used to fetch firmware from boot media. However,
when this feature is not used, CSE needs to be explicitly notified of it
before memory training is complete. This way it can transition to next
state.
BUG=chrome-os-partner:53876
TEST=CSE can be power-gated during S0iX. Confirmed with LTB.
Change-Id: I5141bff350b6c0bb662424b7b709f0787ec5fd28
Signed-off-by: Andrey Petrov <andrey.petrov(a)intel.com>
---
src/soc/intel/apollolake/romstage.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/soc/intel/apollolake/romstage.c b/src/soc/intel/apollolake/romstage.c
index ce28326..049bf4f 100644
--- a/src/soc/intel/apollolake/romstage.c
+++ b/src/soc/intel/apollolake/romstage.c
@@ -241,6 +241,14 @@ void platform_fsp_memory_init_params_cb(struct FSPM_UPD *mupd)
} else
printk(BIOS_DEBUG, "MRC cache was not found\n");
}
+
+ /*
+ * Tell CSE we do not need to use Ring Buffer Protocol (RBP) to fetch
+ * firmware for us if we are using memory-mapped SPI. This lets CSE
+ * state machine transition to next boot state, so that it can function
+ * as designed.
+ */
+ mupd->FspmConfig.SkipCseRbp = IS_ENABLED(CONFIG_SPI_FLASH_MEMORY_MAPPED);
}
__attribute__ ((weak))
Andrey Petrov (andrey.petrov(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15494
-gerrit
commit eefdf58733f20dc257130ae88bcd70d369092593
Author: Andrey Petrov <andrey.petrov(a)intel.com>
Date: Tue Jun 28 17:37:09 2016 -0700
soc/intel/apollolake: Let CSE know Ring Buffer Protocol is not needed
On Apollolake CSE can be used to fetch firmware from boot media. However,
when this feature is not used, CSE needs to be explicitly notified of it
before memory training is complete. This way it can transition to next
state.
BUG=chrome-os-partner:53876
TEST=CSE can be power-gated during S0iX. Confirmed with LTB.
Change-Id: I5141bff350b6c0bb662424b7b709f0787ec5fd28
Signed-off-by: Andrey Petrov <andrey.petrov(a)intel.com>
---
src/soc/intel/apollolake/romstage.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/soc/intel/apollolake/romstage.c b/src/soc/intel/apollolake/romstage.c
index ce28326..4c27066 100644
--- a/src/soc/intel/apollolake/romstage.c
+++ b/src/soc/intel/apollolake/romstage.c
@@ -241,6 +241,16 @@ void platform_fsp_memory_init_params_cb(struct FSPM_UPD *mupd)
} else
printk(BIOS_DEBUG, "MRC cache was not found\n");
}
+
+ /*
+ * Tell CSE we do not need to use Ring Buffer Protocol (RBP) to fetch
+ * firmware for us if we are using memory-mapped SPI. This lets CSE
+ * state machine transition to next boot state, so that it can function
+ * as designed.
+ */
+#if IS_ENABLED(CONFIG_SPI_FLASH_MEMORY_MAPPED)
+ mupd->FspmConfig.SkipCseRbp = 1;
+#endif
}
__attribute__ ((weak))
the following patch was just integrated into master:
commit 7b3512dde3efa3d25d715bb61326ebfc995e9a69
Author: Freddy Paul <freddy.paul(a)intel.com>
Date: Fri Jun 24 08:23:43 2016 -0700
google/reef: set 20K PULLUP on SDCARD DATA/CLK/CMD
SD card need 20K PULLUP on D0-D3/CLOCK/COMMAND lines.
Without this SDCARD will throw data read/write errors.
BUG=chrome-os-partner:54676
TEST=Build and boot to OS.
Verify SD card is detected and data read/write works well.
Change-Id: I90da5b84dc2e488eb38f805322bd7b4dee394e5b
Signed-off-by: Freddy Paul <freddy.paul(a)intel.com>
Reviewed-on: https://review.coreboot.org/15345
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/15345 for details.
-gerrit