Karthik Ramasubramanian has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45741 )
Change subject: mb/google/octopus: Disable Ambient Light Sensor (ALS)
......................................................................
mb/google/octopus: Disable Ambient Light Sensor (ALS)
ALS is not stuffed in octopus boards. Hence disable ALS ACPI devices.
BUG=b:169245831
TEST=Ensure that ALS devices are disabled in ACPI tables.
Change-Id: I5ad28f01b0515a41b314116eb2d05c520df0f86e
Signed-off-by: Karthikeyan Ramasubramanian <kramasub(a)google.com>
---
M src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/45741/1
diff --git a/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h
index ecc9355..fa86170f 100644
--- a/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h
+++ b/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h
@@ -54,9 +54,6 @@
* ACPI related definitions for ASL code.
*/
-/* Enable EC backed ALS device in ACPI */
-#define EC_ENABLE_ALS_DEVICE
-
/* Enable LID switch and provide wake pin for EC */
#define EC_ENABLE_LID_SWITCH
#define EC_ENABLE_WAKE_PIN GPE_EC_WAKE
--
To view, visit https://review.coreboot.org/c/coreboot/+/45741
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5ad28f01b0515a41b314116eb2d05c520df0f86e
Gerrit-Change-Number: 45741
Gerrit-PatchSet: 1
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: newchange
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45196 )
Change subject: mb/google/dedede: Enable SaGv support
......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/c/coreboot/+/45196/2//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/45196/2//COMMIT_MSG@7
PS2, Line 7: intel/
> google
Done
https://review.coreboot.org/c/coreboot/+/45196/2//COMMIT_MSG@8
PS2, Line 8:
> Can you please mention if there is a bug and any tests performed.
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/45196
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f60aad031ce9dfe23e54426753311c35db46c05
Gerrit-Change-Number: 45196
Gerrit-PatchSet: 3
Gerrit-Owner: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Meera Ravindranath <meera.ravindranath(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 09 Oct 2020 14:39:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: comment
Benjamin Doron has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39538 )
Change subject: soc/intel/skylake: Configure L1 substates for PCH root ports
......................................................................
Patch Set 25:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39538/14/src/soc/intel/skylake/chi…
File src/soc/intel/skylake/chip.h:
https://review.coreboot.org/c/coreboot/+/39538/14/src/soc/intel/skylake/chi…
PS14, Line 286: PcieRpAspm
> > I see the issue. In your opinion, should they be renamed? […]
Not done.
--
To view, visit https://review.coreboot.org/c/coreboot/+/39538
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I36150858485715016158595c832c142b0582ddb8
Gerrit-Change-Number: 39538
Gerrit-PatchSet: 25
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 09 Oct 2020 14:10:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-MessageType: comment
Hello Maulik V Vaghela, Meera Ravindranath, Krishna P Bhat D, Tim Wawrzynczak, Ronak Kanabar, Karthik Ramasubramanian,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45196
to look at the new patch set (#3).
Change subject: mb/google/dedede: Enable SaGv support
......................................................................
mb/google/dedede: Enable SaGv support
Allow MRC training in SaGv low , mid and high frequencies.
TEST=Verify memory trains at low , mid and high SaGv point
through FSP debug logs enabled.
Change-Id: I0f60aad031ce9dfe23e54426753311c35db46c05
Signed-off-by: Aamir Bohra <aamir.bohra(a)intel.com>
---
M src/mainboard/google/dedede/variants/baseboard/devicetree.cb
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/45196/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/45196
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f60aad031ce9dfe23e54426753311c35db46c05
Gerrit-Change-Number: 45196
Gerrit-PatchSet: 3
Gerrit-Owner: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Meera Ravindranath <meera.ravindranath(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-MessageType: newpatchset
Nick Vaccaro has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45459 )
Change subject: soc/intel/tigerlake: log the memory part name
......................................................................
soc/intel/tigerlake: log the memory part name
THe BIOS log was looking in the spd data for the part name, but part
names are stripped from generic SPDs. In those cases, devices define
their DRAM Part Name in the CBI, which can be retrieved by calling
mainboard_get_dram_part_num().
Add a spd_set_name() call to the spd library to allow logging the memory
part name in cases where the name does not exist in the actual SPD data,
and call it in cases where the mainboard is overriding the part name.
BUG=b:168724473
TEST="emerge-volteer coreboot chromeos-bootimage", flash and boot
volteer to kernel and verify that the BIOS log shows a part name when
logging SPD information:
SPD: module part number is K4U6E3S4AA-MGCL
Change-Id: I91971e07c450492dbb0588abd1c3c692ee0d3bb0
Signed-off-by: Nick Vaccaro <nvaccaro(a)google.com>
---
M src/include/spd_bin.h
M src/lib/spd_bin.c
M src/soc/intel/tigerlake/meminit.c
3 files changed, 24 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/45459/1
diff --git a/src/include/spd_bin.h b/src/include/spd_bin.h
index 11a0084..80c2e62 100644
--- a/src/include/spd_bin.h
+++ b/src/include/spd_bin.h
@@ -47,6 +47,7 @@
int get_spd_cbfs_rdev(struct region_device *spd_rdev, u8 spd_index);
void dump_spd_info(struct spd_block *blk);
void get_spd_smbus(struct spd_block *blk);
+void spd_set_name(uint8_t spd[], char part_name[]);
/*
* get_spd_sn returns the SODIMM serial number. It only supports DDR3 and DDR4.
diff --git a/src/lib/spd_bin.c b/src/lib/spd_bin.c
index 3888896..78c3e98 100644
--- a/src/lib/spd_bin.c
+++ b/src/lib/spd_bin.c
@@ -136,8 +136,23 @@
return spd_busw[index];
}
+static char *spd_dram_part_name;
+static bool spd_part_name_overridden = false;
+void spd_set_name(uint8_t spd[], char *part_name)
+{
+ spd_dram_part_name = part_name;
+ spd_part_name_overridden = true;
+}
+
static void spd_get_name(const uint8_t spd[], char spd_name[], int dram_type)
{
+ /* If memory part name is overridden, use override copy */
+ if (spd_part_name_overridden) {
+ memcpy(spd_name, spd_dram_part_name,
+ strlen(spd_dram_part_name));
+ return;
+ }
+
switch (dram_type) {
case SPD_DRAM_DDR3:
memcpy(spd_name, &spd[DDR3_SPD_PART_OFF], DDR3_SPD_PART_LEN);
diff --git a/src/soc/intel/tigerlake/meminit.c b/src/soc/intel/tigerlake/meminit.c
index 0c6f0b0..a027f2f 100644
--- a/src/soc/intel/tigerlake/meminit.c
+++ b/src/soc/intel/tigerlake/meminit.c
@@ -4,6 +4,7 @@
#include <console/console.h>
#include <fsp/util.h>
#include <soc/meminit.h>
+#include <soc/romstage.h>
#include <spd_bin.h>
#include <string.h>
@@ -216,6 +217,9 @@
static void read_md_spd(const struct spd_info *info, uintptr_t *data, size_t *len)
{
+ const char *spd_name;
+ size_t spd_name_len;
+
if (info->md_spd_loc == SPD_MEMPTR) {
*data = info->data_ptr;
*len = info->data_len;
@@ -225,6 +229,10 @@
die("Not a valid location(%d) for Memory-down SPD!\n", info->md_spd_loc);
}
+ /* if mainboard overrides module name, use override name */
+ if (mainboard_get_dram_part_num(&spd_name, &spd_name_len))
+ spd_set_name((uint8_t *) *data, (char *) spd_name);
+
print_spd_info((uint8_t *) *data);
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/45459
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I91971e07c450492dbb0588abd1c3c692ee0d3bb0
Gerrit-Change-Number: 45459
Gerrit-PatchSet: 1
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newchange