Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36650 )
Change subject: soc/intel/skylake: Improve comment for DISB
......................................................................
soc/intel/skylake: Improve comment for DISB
Either documentation or FSP is wrong, as the behaviour of DISB is actually
reversed. Document that and warn about clearing the bit.
Change-Id: I9ca748ddb245cae632e423a417c6a25d52a15354
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/soc/intel/skylake/pmc.c
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/36650/1
diff --git a/src/soc/intel/skylake/pmc.c b/src/soc/intel/skylake/pmc.c
index ab9297f..3bc5c68 100644
--- a/src/soc/intel/skylake/pmc.c
+++ b/src/soc/intel/skylake/pmc.c
@@ -31,7 +31,16 @@
void pmc_set_disb(void)
{
- /* Set the DISB after DRAM init */
+ /*
+ * Set the DISB after DRAM init.
+ *
+ * According to Document Number: 332691-002EN
+ * "Intel 100 Series and Intel C230 Series Chipset Family Platform
+ * Controller Hub (PCH) Vol2" this bit must be CLEARED after DRAM init.
+ *
+ * Tests showed that either documentation or FSP is wrong. Clearing this
+ * bit here causes full memory training on every boot.
+ */
u32 disb_val;
#if defined(__SIMPLE_DEVICE__)
pci_devfn_t dev = PCH_DEV_PMC;
--
To view, visit https://review.coreboot.org/c/coreboot/+/36650
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ca748ddb245cae632e423a417c6a25d52a15354
Gerrit-Change-Number: 36650
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange
Casper Chang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36766 )
Change subject: TEST ONLY: DO NOT MERGE
......................................................................
TEST ONLY: DO NOT MERGE
Change-Id: I53ef63261537acdaf74edc13047a3e5e499e749f
---
A src/mainboard/google/kukui/TESTONLY
1 file changed, 0 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/36766/1
diff --git a/src/mainboard/google/kukui/TESTONLY b/src/mainboard/google/kukui/TESTONLY
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/mainboard/google/kukui/TESTONLY
--
To view, visit https://review.coreboot.org/c/coreboot/+/36766
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I53ef63261537acdaf74edc13047a3e5e499e749f
Gerrit-Change-Number: 36766
Gerrit-PatchSet: 1
Gerrit-Owner: Casper Chang <casper.chang(a)bitland.corp-partner.google.com>
Gerrit-MessageType: newchange
huayang duan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36906 )
Change subject: soc/mediatek/mt8183: Always run full calibration for debug DRAM issue [DONOT MERGE] Disable fast calibration, that is always run full calibration for debug DRAM bitfilp issue.
......................................................................
soc/mediatek/mt8183: Always run full calibration for debug DRAM issue [DONOT MERGE]
Disable fast calibration, that is always run full calibration for
debug DRAM bitfilp issue.
BUG=b:80501386,b:142358843
BRANCH=kukui
TEST=Boots correctly on Kukui
Change-Id: I693cfe98ea4317c4b856e9bb1f18046a10fe72f8
---
M src/soc/mediatek/mt8183/memory.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/36906/1
diff --git a/src/soc/mediatek/mt8183/memory.c b/src/soc/mediatek/mt8183/memory.c
index 13c3d9a..fafe2a6 100644
--- a/src/soc/mediatek/mt8183/memory.c
+++ b/src/soc/mediatek/mt8183/memory.c
@@ -170,6 +170,11 @@
if (CONFIG(MT8183_DRAM_DVFS) && !recovery_mode)
config |= DRAMC_CONFIG_DVFS;
+
+printk(BIOS_ERR, "DRAM-K: Force disable Fast Calibration for debug DRAM issue\n");
+
+// disable fast calibration for debug DRAM issue
+if (0) {
/* Load calibration params from flash and run fast calibration */
if (recovery_mode) {
printk(BIOS_WARNING, "Skip loading cached calibration data\n");
@@ -195,6 +200,7 @@
printk(BIOS_WARNING,
"Failed to read calibration data from flash\n");
}
+}
/* Run full calibration */
printk(BIOS_INFO, "DRAM-K: Full Calibration\n");
--
To view, visit https://review.coreboot.org/c/coreboot/+/36906
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I693cfe98ea4317c4b856e9bb1f18046a10fe72f8
Gerrit-Change-Number: 36906
Gerrit-PatchSet: 1
Gerrit-Owner: huayang duan <huayangduan(a)gmail.com>
Gerrit-MessageType: newchange