Ivy Jian has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33017
Change subject: mb/google/poppy/variants/nami: Disable FPMCU for non-fingerprint variants
......................................................................
mb/google/poppy/variants/nami: Disable FPMCU for non-fingerprint variants
Even fingerprint device probe failed on non-fingerpint boards,the CRFP driver still
register the device that cause the GPE#1 as wake source every time.
Override devicetree for non-fingerpirnt variants to avoid unexpected wake event(GPE#1).
BUG=b:129650040
BRANCH=firmware-nami-10775.B
TEST=Boots to OS and check no GPE#1 wake event from eventlog when S0ix exit.
Signed-off-by: Ivy Jian <ivy_jian(a)compal.corp-partner.google.com>
Change-Id: I6fa96e04a34e296889414b96a8c604fc61b8a236
---
M src/mainboard/google/poppy/variants/nami/mainboard.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/33017/1
diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c
index dff62c2..cc87136 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -238,6 +238,7 @@
struct device *root = SA_DEV_ROOT;
config_t *cfg = root->chip_info;
uint8_t pl2_id = PL2_ID_DEFAULT;
+ struct device *spi_fpmcu = PCH_DEV_GSPI1;
switch (sku_id) {
case SKU_0_SONA:
@@ -260,6 +261,7 @@
case SKU_3_PANTHEON:
case SKU_4_PANTHEON:
cfg->usb2_ports[5].enable = 0;
+ spi_fpmcu->enabled = 0;
break;
case SKU_0_BARD:
case SKU_1_BARD:
--
To view, visit https://review.coreboot.org/c/coreboot/+/33017
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6fa96e04a34e296889414b96a8c604fc61b8a236
Gerrit-Change-Number: 33017
Gerrit-PatchSet: 1
Gerrit-Owner: Ivy Jian <ivy_jian(a)compal.corp-partner.google.com>
Gerrit-MessageType: newchange
Hello Patrick Rudolph, Piotr Król, Huang Jin, York Yang, Lee Leahy, build bot (Jenkins), Michał Żygowski, Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29371
to look at the new patch set (#9).
Change subject: drivers/intel/fsp1_1/raminit.c: Always check FSP HOBs
......................................................................
drivers/intel/fsp1_1/raminit.c: Always check FSP HOBs
Check for FSP HOBs is depending on CONFIG_DISPLAY_HOBS.
Use the CONFIG_DISPLAY_HOBS for display HOB info only and always check HOBs.
Use BIOS_ERR of printk() for FSP errors.
BUG=N/A
TEST=Check console output on Facebook FBG1701.
Change-Id: I3776fa37866c7ef3aea090842387660c22bbdd4d
Signed-off-by: Frans Hendriks <fhendriks(a)eltan.com>
---
M src/drivers/intel/fsp1_1/raminit.c
M src/drivers/intel/fsp1_1/ramstage.c
2 files changed, 25 insertions(+), 57 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/29371/9
--
To view, visit https://review.coreboot.org/c/coreboot/+/29371
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3776fa37866c7ef3aea090842387660c22bbdd4d
Gerrit-Change-Number: 29371
Gerrit-PatchSet: 9
Gerrit-Owner: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.com>
Gerrit-Reviewer: Lee Leahy <leroy.p.leahy(a)intel.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: York Yang <yyang024(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30791
Change subject: src/drivers/intel/fsp1_0: Move PLATFORM_USES_FSP1_0
......................................................................
src/drivers/intel/fsp1_0: Move PLATFORM_USES_FSP1_0
This is a better location.
Change-Id: Ic1c86c26a66c33760484bb6a86e9763c148a7c96
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/cpu/x86/Kconfig
M src/drivers/intel/fsp1_0/Kconfig
2 files changed, 9 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/30791/1
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index 232fe63..608afd7 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -151,13 +151,6 @@
This option informs the MTRR code to use the RdMem and WrMem fields
in the fixed MTRR MSRs.
-config PLATFORM_USES_FSP1_0
- bool
- default n
- help
- Selected for Intel processors/platform combinations that use the
- Intel Firmware Support Package (FSP) 1.0 for initialization.
-
config MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING
def_bool n
help
diff --git a/src/drivers/intel/fsp1_0/Kconfig b/src/drivers/intel/fsp1_0/Kconfig
index c7f6c18..4d1c4df 100644
--- a/src/drivers/intel/fsp1_0/Kconfig
+++ b/src/drivers/intel/fsp1_0/Kconfig
@@ -13,6 +13,15 @@
## GNU General Public License for more details.
##
+config PLATFORM_USES_FSP1_0
+ bool
+ default n
+ select CACHE_MRC_SETTINGS
+ help
+ Selected for Intel processors/platform combinations that use the
+ Intel Firmware Support Package (FSP) 1.0 for initialization.
+
+
if PLATFORM_USES_FSP1_0
comment "Intel FSP"
--
To view, visit https://review.coreboot.org/c/coreboot/+/30791
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic1c86c26a66c33760484bb6a86e9763c148a7c96
Gerrit-Change-Number: 30791
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newchange
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32923 )
Change subject: util/xcompile/xcompile: apply -march to clang as well as gcc
......................................................................
util/xcompile/xcompile: apply -march to clang as well as gcc
For x64 and x86_32 configurations, apply the -march flag to both GCC and
Clang flags.
This solves the problem of Clang-compiled coreboot failing due to Clang
emitting SSE instructions for code that is executed while SSE is not
enabled.
This patch takes functionality targeted for GCC configurations and moves
it down a few lines, modifying CFLAGS instead of GCC_CFLAGS in order
that it applies to both GCC and Clang.
This is an alternate patch to CB:32887.
Signed-off-by: Alan Green <avg(a)google.com>
Change-Id: I6a6a6136b01a64d46f730ed19ebbeaadaf2183df
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32923
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M util/xcompile/xcompile
1 file changed, 28 insertions(+), 27 deletions(-)
Approvals:
build bot (Jenkins): Verified
Patrick Georgi: Looks good to me, approved
Kyösti Mälkki: Looks good to me, but someone else must approve
Paul Menzel: Looks good to me, but someone else must approve
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 4a29cdd..40356d9 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -227,33 +227,6 @@
GCC_CFLAGS_${TARCH}:=${CFLAGS_GCC}
GCC_COMPILER_RT_${TARCH}:=${CC_RT_GCC}
GCC_COMPILER_RT_FLAGS_${TARCH}:=${CC_RT_EXTRA_GCC}
-EOF
-
-# Generally the x86 should build for i686 -- no sse/mmx
-# instructions since SMM modules are compiled using these
-# flags. Note that this doesn't prevent a project using
-# xcompile to explicitly specify -mmsse, etc flags.
-# The Quark processor doesn't support the instructions
-# introduced with the Pentium 6 architecture, so allow it
-# to use i586 instead.
-if [ "${TARCH}" = "x86_64" ]; then
-cat <<EOF
- GCC_CFLAGS_${TARCH} += -march=nocona -malign-data=abi
-EOF
-fi
-
-if [ "${TARCH}" = "x86_32" ]; then
-cat <<EOF
-
-ifneq (\$(CONFIG_USE_MARCH_586)\$(CONFIG_LP_USE_MARCH_586),)
- GCC_CFLAGS_${TARCH} += -march=i586
-else
- GCC_CFLAGS_${TARCH} += -march=i686
-endif
-EOF
-fi
-
-cat <<EOF
# Clang
CLANG_CC_${TARCH}:=${CLANG}
@@ -265,6 +238,7 @@
CLANG_COMPILER_RT_${TARCH}:=${CC_RT_CLANG}
CLANG_COMPILER_RT_FLAGS_${TARCH}:=${CC_RT_EXTRA_CLANG}
+# GCC/Clang Common
ifeq (\$(CONFIG_COMPILER_GCC)\$(CONFIG_LP_COMPILER_GCC),y)
CC_${TARCH}:=\$(GCC_CC_${TARCH})
CFLAGS_${TARCH}:=\$(GCC_CFLAGS_${TARCH})
@@ -276,6 +250,33 @@
COMPILER_RT_${TARCH}:=\$(CLANG_COMPILER_RT_${TARCH})
COMPILER_RT_FLAGS_${TARCH}:=\$(CLANG_COMPILER_RT_FLAGS_${TARCH})
endif
+EOF
+
+# Generally the x86 should build for i686 -- no sse/mmx
+# instructions since SMM modules are compiled using these
+# flags. Note that this doesn't prevent a project using
+# xcompile to explicitly specify -mmsse, etc flags.
+# The Quark processor doesn't support the instructions
+# introduced with the Pentium 6 architecture, so allow it
+# to use i586 instead.
+if [ "${TARCH}" = "x86_64" ]; then
+cat <<EOF
+ CFLAGS_${TARCH} += -march=nocona -malign-data=abi
+EOF
+fi
+
+if [ "${TARCH}" = "x86_32" ]; then
+cat <<EOF
+
+ifneq (\$(CONFIG_USE_MARCH_586)\$(CONFIG_LP_USE_MARCH_586),)
+ CFLAGS_${TARCH} += -march=i586
+else
+ CFLAGS_${TARCH} += -march=i686
+endif
+EOF
+fi
+
+cat <<EOF
CPP_${TARCH}:=${GCCPREFIX}cpp
AS_${TARCH}:=${GCCPREFIX}as ${ASFLAGS}
--
To view, visit https://review.coreboot.org/c/coreboot/+/32923
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a6136b01a64d46f730ed19ebbeaadaf2183df
Gerrit-Change-Number: 32923
Gerrit-PatchSet: 4
Gerrit-Owner: Alan Green <avg(a)google.com>
Gerrit-Reviewer: Alan Green <avg(a)google.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged