Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/28766
Change subject: amd/stoneyridge: Add USB settings to gnvs
......................................................................
amd/stoneyridge: Add USB settings to gnvs
A later patch will rely on two USB settings from the BIOS. Add these
to the global_gnvs_t structure.
The first is a data that will be used to locate the xHCI firmware for
reloading after a resume. Although the existing calculations will be
somewhat simple, keeping this on the coreboot side will help in the
event multiple FWs are eventually in the build.
The second item is a usable EHCI base address that may be programmed
during S3 suspend and resume. At the time the PTS and WAK code runs,
the BAR will be clear.
BUG=b:77602074
Change-Id: I32205ac8a6908cca4a38dd68a7c7b591e76c06bb
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
---
M src/soc/amd/stoneyridge/acpi/globalnvs.asl
M src/soc/amd/stoneyridge/include/soc/nvs.h
2 files changed, 11 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/28766/1
diff --git a/src/soc/amd/stoneyridge/acpi/globalnvs.asl b/src/soc/amd/stoneyridge/acpi/globalnvs.asl
index f77d108..6d38d6b 100644
--- a/src/soc/amd/stoneyridge/acpi/globalnvs.asl
+++ b/src/soc/amd/stoneyridge/acpi/globalnvs.asl
@@ -65,6 +65,11 @@
, 2,
ESPI, 1, // ESPI, 27
, 4,
+ FW00, 16, // 0x35 - xHCI FW ROM addr, boot RAM
+ FW01, 32, // 0x37 - xHCI FW RAM addr, boot RAM
+ FW02, 16, // 0x3B - xHCI FW ROM addr, Instruction RAM
+ FW03, 32, // 0x3D - xHCI FW RAM addr, Instruction RAM
+ EH10, 32, // 0x41 - EHCI BAR
/* ChromeOS stuff (0x100 -> 0xfff, size 0xeff) */
Offset (0x100),
#include <vendorcode/google/chromeos/acpi/gnvs.asl>
diff --git a/src/soc/amd/stoneyridge/include/soc/nvs.h b/src/soc/amd/stoneyridge/include/soc/nvs.h
index 667f6ef..8fa3236 100644
--- a/src/soc/amd/stoneyridge/include/soc/nvs.h
+++ b/src/soc/amd/stoneyridge/include/soc/nvs.h
@@ -52,7 +52,12 @@
uint8_t tpsv; /* 0x2F - Passive Threshold */
uint8_t tmax; /* 0x30 - CPU Tj_max */
aoac_devs_t aoac; /* 0x31 - AOAC device enables */
- uint8_t unused[203];
+ uint16_t fw00; /* 0x35 - XhciFwRomAddr_Rom, Boot RAM */
+ uint32_t fw01; /* 0x37 - XhciFwRamAddr_Rom, Boot RAM sz/base */
+ uint16_t fw02; /* 0x3B - XhciFwRomAddr_Ram, Instr RAM */
+ uint32_t fw03; /* 0x3D - XhciFwRomAddr_Ram, Instr RAM sz/base */
+ uint32_t eh10; /* 0x41 - EHCI BAR */
+ uint8_t unused[187];
/* ChromeOS specific (0x100 - 0xfff) */
chromeos_acpi_t chromeos;
--
To view, visit https://review.coreboot.org/28766
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I32205ac8a6908cca4a38dd68a7c7b591e76c06bb
Gerrit-Change-Number: 28766
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/28763
Change subject: WIP: Add Kaby Lake PCI IDs
......................................................................
WIP: Add Kaby Lake PCI IDs
Change-Id: Ice05e07b016cebc7258a9790e38e079e63227a4b
---
M common/hw-gfx-gma-config.ads.template
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/63/28763/1
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index dba10aa..bdeeefb 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -333,7 +333,8 @@
function Is_Skylake_U (Device_Id : Word16) return Boolean is
(Device_Id = 16#1906# or Device_Id = 16#1916# or Device_Id = 16#1923# or
- Device_Id = 16#1926# or Device_Id = 16#1927#);
+ Device_Id = 16#1926# or Device_Id = 16#1927# or
+ Device_Id = 16#5906# or Device_Id = 16#5916# or Device_Id = 16#5917#);
-- Rather catch too much here than too little,
-- it's only used to distinguish generations.
@@ -360,7 +361,9 @@
when Skylake => ((Device_Id and 16#ffc3#) = 16#1902# or
(Device_Id and 16#ffcf#) = 16#190b# or
(Device_Id and 16#ffcf#) = 16#190d# or
- (Device_Id and 16#fff9#) = 16#1921#) and
+ (Device_Id and 16#fff9#) = 16#1921# or
+ (Device_Id and 16#ffe3#) = 16#5902# or
+ (Device_Id and 16#fff1#) = 16#5911#) and
(case CPU_Var is
when Normal => not Is_Skylake_U (Device_Id),
when ULT => Is_Skylake_U (Device_Id)));
--
To view, visit https://review.coreboot.org/28763
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice05e07b016cebc7258a9790e38e079e63227a4b
Gerrit-Change-Number: 28763
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/28762
Change subject: soc/intel/commom/block/i2c: Make I2C controller out of reset
......................................................................
soc/intel/commom/block/i2c: Make I2C controller out of reset
This patch ensures I2C controllers are out of reset without any
assumptions.
BUG=b:116191230
BRANCH=none
TEST=Dump MMIO offset 0x204 to check if I2C host controller is NOT
at reset (by reading Bit 0-1 as 3)
Change-Id: I4b335a834333e01cfa2d802e4aad0735d0212dcc
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
M src/soc/intel/common/block/i2c/i2c.c
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/28762/1
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c
index 11bd018..917a060 100644
--- a/src/soc/intel/common/block/i2c/i2c.c
+++ b/src/soc/intel/common/block/i2c/i2c.c
@@ -1,7 +1,7 @@
/*
* This file is part of the coreboot project.
*
- * Copyright 2017 Intel Corporation.
+ * Copyright 2017-2018 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
@@ -140,8 +140,11 @@
/* dev -> bar0 */
res = find_resource(dev, PCI_BASE_ADDRESS_0);
- if (res)
+ if (res) {
+ /* Take device out of reset */
+ lpss_reset_release(res->base);
return res->base;
+ }
return (uintptr_t)NULL;
}
--
To view, visit https://review.coreboot.org/28762
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b335a834333e01cfa2d802e4aad0735d0212dcc
Gerrit-Change-Number: 28762
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Werner Zeh has posted comments on this change. ( https://review.coreboot.org/28761 )
Change subject: siemens/mc_apl1: Activate clock spreading for PTN3460
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://review.coreboot.org/28761
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie457fcdbb6239dc0b25e2c35ad7a310ee80383f9
Gerrit-Change-Number: 28761
Gerrit-PatchSet: 3
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 27 Sep 2018 13:17:22 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Mario Scheithauer has posted comments on this change. ( https://review.coreboot.org/28761 )
Change subject: siemens/mc_apl1: Activate clock spreading for PTN3460
......................................................................
Patch Set 3:
I missed this, sorry.
--
To view, visit https://review.coreboot.org/28761
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie457fcdbb6239dc0b25e2c35ad7a310ee80383f9
Gerrit-Change-Number: 28761
Gerrit-PatchSet: 3
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 27 Sep 2018 12:35:42 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Hello Werner Zeh, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28761
to look at the new patch set (#3).
Change subject: siemens/mc_apl1: Activate clock spreading for PTN3460
......................................................................
siemens/mc_apl1: Activate clock spreading for PTN3460
In order to minimize Electromagnetic Interference (EMI) on the LVDS
interface driven by PTN3460, clock spreading must be activated for
mc_apl1 mainboard. The modulation ratio is set to 1 % of the nominal
frequency.
Change-Id: Ie457fcdbb6239dc0b25e2c35ad7a310ee80383f9
Signed-off-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
M src/mainboard/siemens/mc_apl1/variants/mc_apl1/ptn3460.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/28761/3
--
To view, visit https://review.coreboot.org/28761
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie457fcdbb6239dc0b25e2c35ad7a310ee80383f9
Gerrit-Change-Number: 28761
Gerrit-PatchSet: 3
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>