Martin Kepplinger has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32499
Change subject: x86emu: add console.h header to fix compilation
......................................................................
x86emu: add console.h header to fix compilation
Commit 351e3e5 ("src: Use include <console/console.h> when appropriate")
has broken the build here, see below, so we include console.h again for
x86emu.
In file included from src/device/oprom/x86emu/x86emui.h:65,
from src/device/oprom/x86emu/debug.c:40:
src/device/oprom/x86emu/debug.c: In function 'x86emu_dump_regs':
src/device/oprom/x86emu/debug.h:46:22: error: implicit declaration of function 'printk'; did you mean 'printf'?
[-Werror=implicit-function-declaration]
#define printf(x...) printk(BIOS_DEBUG, x)
^~~~~~
src/device/oprom/x86emu/debug.c:366:5: note: in expansion of macro 'printf'
printf("\tAX=%04x ", M.x86.R_AX );
^~~~~~
Fixes: 351e3e5 ("src: Use include <console/console.h> when appropriate")
Change-Id: I75d0b7c08bfa6dcb07778bbb762223b62cfc3da7
Signed-off-by: Martin Kepplinger <martink(a)posteo.de>
---
M src/device/oprom/include/x86emu/x86emu.h
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/32499/1
diff --git a/src/device/oprom/include/x86emu/x86emu.h b/src/device/oprom/include/x86emu/x86emu.h
index 4ae82d9..fa23e55 100644
--- a/src/device/oprom/include/x86emu/x86emu.h
+++ b/src/device/oprom/include/x86emu/x86emu.h
@@ -42,6 +42,7 @@
#define __X86EMU_X86EMU_H
#include <stddef.h>
+#include <console/console.h>
#if CONFIG(X86EMU_DEBUG)
#define DEBUG
#endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/32499
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I75d0b7c08bfa6dcb07778bbb762223b62cfc3da7
Gerrit-Change-Number: 32499
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Kepplinger <martink(a)posteo.de>
Gerrit-MessageType: newchange
Hello Patrick Rudolph, EricR Lai, Paul Menzel, Bora Guvendik, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32389
to look at the new patch set (#3).
Change subject: mb/google/sarien: Add SMBIOS type 9 fields
......................................................................
mb/google/sarien: Add SMBIOS type 9 fields
Fill SMBIOS type 9 fields for both sarien and arcada platform.
BUG=b:129485789
TEST=Boot up into OS and check with dmidecode -t 9 to we do have entry.
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
Change-Id: I47a697131b7aeeb64e0c4b4c0556842f1cb1b02e
---
M src/mainboard/google/sarien/variants/arcada/devicetree.cb
M src/mainboard/google/sarien/variants/sarien/devicetree.cb
2 files changed, 10 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/32389/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/32389
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I47a697131b7aeeb64e0c4b4c0556842f1cb1b02e
Gerrit-Change-Number: 32389
Gerrit-PatchSet: 3
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
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-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newpatchset
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29104 )
Change subject: sdm845: Port I2C driver
......................................................................
Patch Set 32:
(1 comment)
https://review.coreboot.org/#/c/29104/31/src/soc/qualcomm/sdm845/qcom_qup_s…
File src/soc/qualcomm/sdm845/qcom_qup_se.c:
https://review.coreboot.org/#/c/29104/31/src/soc/qualcomm/sdm845/qcom_qup_s…
PS31, Line 118:
> Similar indentation we use in our HLOS driver and it looks good to us. […]
The problem here is just that the second line is so far over to the right compared to the first line. How did you decide to do exactly 5 tabs? That just seems arbitrary... I thought maybe this used to line up with the previous line in an earlier version but then you shortened the name of the function and forgot to realign the second line.
In general, there's no hard rule on this but the two most common versions are
- Fill to 80 and indent all continuation lines 1 tab no matter what:
int my_sample_func(int param1, int param2, int param3, int param4,
int param5, int param6)
- Fill to 80 and align continuation lines to opening parenthesis
int my_sample_func(int param1, int param2, int param3, int param4,
int param5, int param6)
(Note that should be 2 tabs and 3 spaces in the second example.)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29104
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifb76564d8a11427423dd14d8ba7c8c7d500ef346
Gerrit-Change-Number: 29104
Gerrit-PatchSet: 32
Gerrit-Owner: T.Michael Turney <tturne(a)codeaurora.org>
Gerrit-Reviewer: Akash Asthana <akashast(a)qualcomm.corp-partner.google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: T Michael Turney <mturney(a)codeaurora.org>
Gerrit-Reviewer: T.Michael Turney <tturne(a)codeaurora.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Wed, 01 May 2019 20:15:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Akash Asthana <akashast(a)qualcomm.corp-partner.google.com>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
EricR Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32502
Change subject: mb/google/sarien: Disable S5 wake on LAN by default
......................................................................
mb/google/sarien: Disable S5 wake on LAN by default
Chromebook doesn't require support wake on LAN in S5.
Disable it by default for power saving.
BUG=b:131571666
TEST= check LAN indicator is off under S5
Signed-off-by: Eric Lai <ericr_lai(a)compal.corp-partner.google.com>
Change-Id: Ia90c9d2f3ea9b3580e9a7bbfb47c917dd51e3c03
---
M src/mainboard/google/sarien/variants/sarien/devicetree.cb
M src/soc/intel/cannonlake/chip.h
M src/soc/intel/cannonlake/fsp_params.c
3 files changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/32502/1
diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
index 96146ba..0cdd9d0 100644
--- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb
+++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
@@ -52,6 +52,9 @@
# Enable DDC for DDI port B
register "DdiPortBDdc" = "1"
+ register "LanWakeFromDeepSx" = "0"
+ register "WolEnableOverride" = "0"
+
# VR Settings Configuration for 4 Domains
#+----------------+-------+-------+-------+-------+
#| Domain/Setting | SA | IA | GTUS | GTS |
diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h
index 9bba226..ca44085 100644
--- a/src/soc/intel/cannonlake/chip.h
+++ b/src/soc/intel/cannonlake/chip.h
@@ -400,6 +400,8 @@
/* Unlock all GPIO Pads */
uint8_t PchUnlockGpioPads;
+ uint8_t LanWakeFromDeepSx;
+ uint8_t WolEnableOverride;
};
typedef struct soc_intel_cannonlake_config config_t;
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c
index 61d2520..cc01d10 100644
--- a/src/soc/intel/cannonlake/fsp_params.c
+++ b/src/soc/intel/cannonlake/fsp_params.c
@@ -212,6 +212,10 @@
params->DdiPortDDdc = config->DdiPortDDdc;
params->DdiPortFDdc = config->DdiPortFDdc;
+ /* WOL */
+ params->PchPmPcieWakeFromDeepSx = config->LanWakeFromDeepSx;
+ params->PchPmWolEnableOverride = config->WolEnableOverride;
+
/* S0ix */
params->PchPmSlpS0Enable = config->s0ix_enable;
--
To view, visit https://review.coreboot.org/c/coreboot/+/32502
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia90c9d2f3ea9b3580e9a7bbfb47c917dd51e3c03
Gerrit-Change-Number: 32502
Gerrit-PatchSet: 1
Gerrit-Owner: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-MessageType: newchange
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/25208 )
Change subject: sdm845: Add QCLib to RomStage to perform IP init
......................................................................
Patch Set 77: Code-Review+2
(1 comment)
https://review.coreboot.org/#/c/25208/76/src/soc/qualcomm/sdm845/qclib.c
File src/soc/qualcomm/sdm845/qclib.c:
https://review.coreboot.org/#/c/25208/76/src/soc/qualcomm/sdm845/qclib.c@43
PS76, Line 43: if (size < 0)
> Ack […]
Assigning the signed result to an unsigned variable would be -Wconversion, that's a huge hammer that we'll probably not be able to enable any time soon (because that happens all the time). But we might be able to catch the if (unsigned_var < 0) case with -Wtype-limits, I'll look into that if I find some time.
--
To view, visit https://review.coreboot.org/c/coreboot/+/25208
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I073186674a1a593547d1ee1d15c7cd4fd8ad5bc1
Gerrit-Change-Number: 25208
Gerrit-PatchSet: 77
Gerrit-Owner: T.Michael Turney <tturne(a)codeaurora.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
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: T Michael Turney <mturney(a)codeaurora.org>
Gerrit-Reviewer: T.Michael Turney <tturne(a)codeaurora.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Wed, 01 May 2019 20:04:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: T Michael Turney <mturney(a)codeaurora.org>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment