Nick Vaccaro has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45635 )
Change subject: vendorcode/google: add SPD_PART_NUMBER_IN_CBI Kconfig option
......................................................................
vendorcode/google: add SPD_PART_NUMBER_IN_CBI Kconfig option
Add SPD_PART_NUMBER_IN_CBI Kconfig option to declare whether the SPD
Module Part Number (memory part name) is stored in the CBI.
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
I also built coreboot for hatch and dedede and verified that the build
succeeds without error.
Change-Id: I0d393efd0fc731daa70d3990e5b69865be99b78b
Signed-off-by: Nick Vaccaro <nvaccaro(a)google.com>
---
M src/mainboard/google/dedede/Kconfig
M src/mainboard/google/hatch/Kconfig
M src/mainboard/google/volteer/Kconfig
M src/vendorcode/google/chromeos/Kconfig
4 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/45635/1
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig
index 79c2995..bc01ab9 100644
--- a/src/mainboard/google/dedede/Kconfig
+++ b/src/mainboard/google/dedede/Kconfig
@@ -37,6 +37,7 @@
bool
default y
select CHROMEOS_CSE_BOARD_RESET_OVERRIDE
+ select CHROMEOS_DRAM_PART_NUMBER_IN_CBI
select EC_GOOGLE_CHROMEEC_SWITCHES
select GBB_FLAG_FORCE_DEV_SWITCH_ON
select GBB_FLAG_FORCE_DEV_BOOT_USB
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig
index ca310ed..44259a4 100644
--- a/src/mainboard/google/hatch/Kconfig
+++ b/src/mainboard/google/hatch/Kconfig
@@ -47,6 +47,7 @@
config CHROMEOS
bool
default y
+ select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if !ROMSTAGE_SPD_SMBUS
select EC_GOOGLE_CHROMEEC_SWITCHES
select GBB_FLAG_FORCE_DEV_SWITCH_ON
select GBB_FLAG_FORCE_DEV_BOOT_USB
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig
index d2880bf..34d34d0 100644
--- a/src/mainboard/google/volteer/Kconfig
+++ b/src/mainboard/google/volteer/Kconfig
@@ -35,6 +35,7 @@
bool
default y
select CHROMEOS_CSE_BOARD_RESET_OVERRIDE if SOC_INTEL_CSE_LITE_SKU
+ select CHROMEOS_DRAM_PART_NUMBER_IN_CBI
select EC_GOOGLE_CHROMEEC_SWITCHES
select GBB_FLAG_FORCE_DEV_SWITCH_ON
select GBB_FLAG_FORCE_DEV_BOOT_USB
diff --git a/src/vendorcode/google/chromeos/Kconfig b/src/vendorcode/google/chromeos/Kconfig
index 0528d00..3b335a4 100644
--- a/src/vendorcode/google/chromeos/Kconfig
+++ b/src/vendorcode/google/chromeos/Kconfig
@@ -103,5 +103,12 @@
does not understand the new cr50 strap config (applicable only to boards using strap
config 0xe). Enabling this config will help to override the default global reset.
+config CHROMEOS_DRAM_PART_NUMBER_IN_CBI
+ def_bool y
+ depends on EC_GOOGLE_CHROMEEC
+ help
+ Some boards declare the DRAM part number in the CBI instead of the SPD. This option
+ allows those boards to declare that their DRAM part number is stored in the CBI.
+
endif # CHROMEOS
endmenu
--
To view, visit https://review.coreboot.org/c/coreboot/+/45635
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0d393efd0fc731daa70d3990e5b69865be99b78b
Gerrit-Change-Number: 45635
Gerrit-PatchSet: 1
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newchange
Nick Vaccaro has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45879 )
Change subject: soc: move mainboard_get_dram_part_num prototype to memory_info.h
......................................................................
soc: move mainboard_get_dram_part_num prototype to memory_info.h
BUG=b:169774661, b:168724473
TEST="emerge-volteer coreboot && emerge-nocturne coreboot &&
emerge-dedede coreboot" and verify they build successfully.
Change-Id: I8b228475621ca1035fe13f8311355fc3b926e897
Signed-off-by: Nick Vaccaro <nvaccaro(a)google.com>
---
M src/include/memory_info.h
M src/soc/intel/alderlake/include/soc/romstage.h
M src/soc/intel/cannonlake/include/soc/romstage.h
M src/soc/intel/elkhartlake/include/soc/romstage.h
M src/soc/intel/jasperlake/include/soc/romstage.h
M src/soc/intel/tigerlake/include/soc/romstage.h
6 files changed, 6 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/45879/1
diff --git a/src/include/memory_info.h b/src/include/memory_info.h
index d9d9c37..1ba7329 100644
--- a/src/include/memory_info.h
+++ b/src/include/memory_info.h
@@ -108,4 +108,10 @@
struct dimm_info dimm[DIMM_INFO_TOTAL];
} __packed;
+/*
+ * mainboard_get_dram_part_num returns a DRAM part number override string
+ * return NULL = no part number override provided by mainboard
+ * return non-NULL = pointer to a string terminating in '\0'
+ */
+const char *mainboard_get_dram_part_num(void);
#endif
diff --git a/src/soc/intel/alderlake/include/soc/romstage.h b/src/soc/intel/alderlake/include/soc/romstage.h
index 55469a3..c72c8aa 100644
--- a/src/soc/intel/alderlake/include/soc/romstage.h
+++ b/src/soc/intel/alderlake/include/soc/romstage.h
@@ -6,8 +6,6 @@
#include <fsp/api.h>
#include <stddef.h>
-/* Provide a callback to allow mainboard to override the DRAM part number. */
-const char *mainboard_get_dram_part_num(void);
void mainboard_memory_init_params(FSPM_UPD *mupd);
void systemagent_early_init(void);
void romstage_pch_init(void);
diff --git a/src/soc/intel/cannonlake/include/soc/romstage.h b/src/soc/intel/cannonlake/include/soc/romstage.h
index f99175f..ae9aa60 100644
--- a/src/soc/intel/cannonlake/include/soc/romstage.h
+++ b/src/soc/intel/cannonlake/include/soc/romstage.h
@@ -7,8 +7,6 @@
void mainboard_memory_init_params(FSPM_UPD *mupd);
-/* Provide a callback to allow mainboard to override the DRAM part number. */
-const char *mainboard_get_dram_part_num(void);
void systemagent_early_init(void);
void romstage_pch_init(void);
diff --git a/src/soc/intel/elkhartlake/include/soc/romstage.h b/src/soc/intel/elkhartlake/include/soc/romstage.h
index 1cffcb9..3772db4 100644
--- a/src/soc/intel/elkhartlake/include/soc/romstage.h
+++ b/src/soc/intel/elkhartlake/include/soc/romstage.h
@@ -5,8 +5,6 @@
#include <fsp/api.h>
-/* Provide a callback to allow mainboard to override the DRAM part number. */
-const char *mainboard_get_dram_part_num(void);
void mainboard_memory_init_params(FSPM_UPD *mupd);
void systemagent_early_init(void);
void romstage_pch_init(void);
diff --git a/src/soc/intel/jasperlake/include/soc/romstage.h b/src/soc/intel/jasperlake/include/soc/romstage.h
index 1cffcb9..3772db4 100644
--- a/src/soc/intel/jasperlake/include/soc/romstage.h
+++ b/src/soc/intel/jasperlake/include/soc/romstage.h
@@ -5,8 +5,6 @@
#include <fsp/api.h>
-/* Provide a callback to allow mainboard to override the DRAM part number. */
-const char *mainboard_get_dram_part_num(void);
void mainboard_memory_init_params(FSPM_UPD *mupd);
void systemagent_early_init(void);
void romstage_pch_init(void);
diff --git a/src/soc/intel/tigerlake/include/soc/romstage.h b/src/soc/intel/tigerlake/include/soc/romstage.h
index 1cffcb9..3772db4 100644
--- a/src/soc/intel/tigerlake/include/soc/romstage.h
+++ b/src/soc/intel/tigerlake/include/soc/romstage.h
@@ -5,8 +5,6 @@
#include <fsp/api.h>
-/* Provide a callback to allow mainboard to override the DRAM part number. */
-const char *mainboard_get_dram_part_num(void);
void mainboard_memory_init_params(FSPM_UPD *mupd);
void systemagent_early_init(void);
void romstage_pch_init(void);
--
To view, visit https://review.coreboot.org/c/coreboot/+/45879
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8b228475621ca1035fe13f8311355fc3b926e897
Gerrit-Change-Number: 45879
Gerrit-PatchSet: 1
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Nico Huber, Furquan Shaikh, Subrata Banik, Aamir Bohra, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45958
to look at the new patch set (#21).
Change subject: [UNTESTED] soc/intel/{icl,tgl,jsl,ehl}: drop duplicate PM ACPI timer disabling
......................................................................
[UNTESTED] soc/intel/{icl,tgl,jsl,ehl}: drop duplicate PM ACPI timer disabling
FSP already disables the PM ACPI timer, when EnableTcoTimer=0, so there
is no need to do it again in coreboot.
Change-Id: I5594ac423d6dff4c3212d657c242137492dc5d2a
Signed-off-by: Michael Niewöhner <foss(a)mniewoehner.de>
---
M src/soc/intel/alderlake/Kconfig
M src/soc/intel/alderlake/finalize.c
M src/soc/intel/common/block/include/intelblocks/pmclib.h
M src/soc/intel/common/block/pmc/Kconfig
M src/soc/intel/common/block/pmc/pmclib.c
M src/soc/intel/elkhartlake/Kconfig
M src/soc/intel/elkhartlake/chip.h
M src/soc/intel/elkhartlake/finalize.c
M src/soc/intel/icelake/Kconfig
M src/soc/intel/icelake/chip.h
M src/soc/intel/icelake/finalize.c
M src/soc/intel/jasperlake/Kconfig
M src/soc/intel/jasperlake/chip.h
M src/soc/intel/jasperlake/finalize.c
M src/soc/intel/tigerlake/Kconfig
M src/soc/intel/tigerlake/chip.h
M src/soc/intel/tigerlake/finalize.c
17 files changed, 4 insertions(+), 107 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/45958/21
--
To view, visit https://review.coreboot.org/c/coreboot/+/45958
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5594ac423d6dff4c3212d657c242137492dc5d2a
Gerrit-Change-Number: 45958
Gerrit-PatchSet: 21
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello build bot (Jenkins), Nico Huber, Furquan Shaikh, Subrata Banik, Aamir Bohra, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45957
to look at the new patch set (#21).
Change subject: [UNTESTED] soc/intel/{icl,tgl,jsl,ehl}: PM ACPI timer state from Kconfig
......................................................................
[UNTESTED] soc/intel/{icl,tgl,jsl,ehl}: PM ACPI timer state from Kconfig
Sets the FSP option for PM ACPI timer enablement from the devicetree
option, to be able to disable the timer for power savings.
Change-Id: Iaf1eee9297034b29b7250f6c752e6f7f52b4b908
Signed-off-by: Michael Niewöhner <foss(a)mniewoehner.de>
---
M src/soc/intel/elkhartlake/fsp_params.c
M src/soc/intel/icelake/fsp_params.c
M src/soc/intel/jasperlake/fsp_params.c
M src/soc/intel/tigerlake/fsp_params.c
4 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/45957/21
--
To view, visit https://review.coreboot.org/c/coreboot/+/45957
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaf1eee9297034b29b7250f6c752e6f7f52b4b908
Gerrit-Change-Number: 45957
Gerrit-PatchSet: 21
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset