Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/45331
to review the following change.
Change subject: soc/amd/picasso: Fix a typo of double dollars
......................................................................
soc/amd/picasso: Fix a typo of double dollars
Change-Id: I1f1acad8ee2492558e3e17cab498329f82740c54
Signed-off-by: Zheng Bao <fishbaozi(a)gmail.com>
---
M src/soc/amd/picasso/Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/45331/1
diff --git a/src/soc/amd/picasso/Makefile.inc b/src/soc/amd/picasso/Makefile.inc
index 71557af..f9e44f1 100644
--- a/src/soc/amd/picasso/Makefile.inc
+++ b/src/soc/amd/picasso/Makefile.inc
@@ -418,7 +418,7 @@
$(call_strip_quotes, $(PSP_SEC_DEBUG_FILE)) \
$(PSP_VERSTAGE_FILE) \
$(PSP_VERSTAGE_SIG_FILE) \
- $$(PSP_APCB_FILES) \
+ $(PSP_APCB_FILES) \
$(AMDFWTOOL) \
$(obj)/fmap.fmd
$(if $(PSP_APCB_FILES), ,$(error APCB_SOURCES is not set))
--
To view, visit https://review.coreboot.org/c/coreboot/+/45331
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1f1acad8ee2492558e3e17cab498329f82740c54
Gerrit-Change-Number: 45331
Gerrit-PatchSet: 1
Gerrit-Owner: Bao Zheng <fishbaozi(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Zheng Bao
Gerrit-MessageType: newchange
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45342 )
Change subject: soc/intel/common/block/cse: Make cse_request_global_reset() static
......................................................................
soc/intel/common/block/cse: Make cse_request_global_reset() static
Common reset.c code block will make use of cse_send_global_reset() function
directly from common code block hence don't need to make redundant
function for sending same CSE global reset command, hence making
cse_request_global_reset() function static.
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
Change-Id: Iae6ad47f0a24da05976ead700d7330bf8f7395d0
---
M src/soc/intel/common/block/cse/cse.c
M src/soc/intel/common/block/include/intelblocks/cse.h
2 files changed, 1 insertion(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/45342/1
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 90afdcf..e564cf7 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -618,7 +618,7 @@
/*
* Sends GLOBAL_RESET_REQ cmd to CSE.The reset type can be GLOBAL_RESET/CSE_RESET_ONLY.
*/
-int cse_request_global_reset(enum rst_req_type rst_type)
+static int cse_request_global_reset(enum rst_req_type rst_type)
{
int status;
struct mkhi_hdr reply;
diff --git a/src/soc/intel/common/block/include/intelblocks/cse.h b/src/soc/intel/common/block/include/intelblocks/cse.h
index 9804b0d..e4ba836 100644
--- a/src/soc/intel/common/block/include/intelblocks/cse.h
+++ b/src/soc/intel/common/block/include/intelblocks/cse.h
@@ -122,12 +122,6 @@
/*
* Sends GLOBAL_RESET_REQ cmd to CSE.
- * The reset type can be one of the above defined reset type.
- * Returns 0 on failure and 1 on success.
- */
-int cse_request_global_reset(enum rst_req_type rst_type);
-/*
- * Sends GLOBAL_RESET_REQ cmd to CSE.
* 1. Check if CSE is enable from devicetree.cb
* 2. Ensure CSE in Normal Mode prior sending global reset command
* 3. If not in normal mode then send error status
--
To view, visit https://review.coreboot.org/c/coreboot/+/45342
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iae6ad47f0a24da05976ead700d7330bf8f7395d0
Gerrit-Change-Number: 45342
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Ravi kumar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45213 )
Change subject: chromeos: Provide common watchdog reboot support in romstage
......................................................................
chromeos: Provide common watchdog reboot support in romstage
Signed-off-by: Ravi Kumar Bokka <rbokka(a)codeaurora.org>
Change-Id: I2a1f1411e9d58a0738e0e8057f5b1ad049bf03e3
---
M src/vendorcode/google/chromeos/Makefile.inc
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/45213/1
diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc
index b429d6b..927b90b 100644
--- a/src/vendorcode/google/chromeos/Makefile.inc
+++ b/src/vendorcode/google/chromeos/Makefile.inc
@@ -15,3 +15,4 @@
bootblock-y += watchdog.c
verstage-y += watchdog.c
ramstage-y += watchdog.c
+romstage-y += watchdog.c
--
To view, visit https://review.coreboot.org/c/coreboot/+/45213
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2a1f1411e9d58a0738e0e8057f5b1ad049bf03e3
Gerrit-Change-Number: 45213
Gerrit-PatchSet: 1
Gerrit-Owner: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Ravi kumar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42095 )
Change subject: sc7180: Remove QcLib specific changes from CB UART
......................................................................
sc7180: Remove QcLib specific changes from CB UART
To achieve 115200 baudrate QcLib reconfigures UART frequency
with the lowest supported frequency from QUP clock table.
With this console logs were getting corrupted at qclib stage.
In ChromeOS coreboot, baudrate is configuarable using Kconfig.
QcLib should not assume the baudrate and reconfigure any UART
register once after the configuration is done in coreboot.
To fix the issue QcLib done the changes to not to reconfigure
any UART registers. Hence clock_configure_qup() is not required
in coreboot UART driver.
Signed-off-by: Roja Rani Yarubandi <rojay(a)codeaurora.org>
Change-Id: I2531b64eddfa6e877f769af0d17be61f5e4d0c35
---
M src/soc/qualcomm/sc7180/qupv3_config.c
M src/soc/qualcomm/sc7180/qupv3_uart.c
2 files changed, 3 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/42095/1
diff --git a/src/soc/qualcomm/sc7180/qupv3_config.c b/src/soc/qualcomm/sc7180/qupv3_config.c
index 2c4554d..169955c 100644
--- a/src/soc/qualcomm/sc7180/qupv3_config.c
+++ b/src/soc/qualcomm/sc7180/qupv3_config.c
@@ -52,10 +52,7 @@
/* HPG section 3.1.7.1 */
- if (protocol == SE_PROTOCOL_UART) {
- /* To maintain Div=4 for QcLib, configure clock to 7372800Hz for sc7180 */
- clock_configure_qup(bus, QUPV3_UART_SRC_HZ);
- } else {
+ if (protocol != SE_PROTOCOL_UART) {
setbits_le32(®s->geni_dfs_if_cfg,
GENI_DFS_IF_CFG_DFS_IF_EN_BMSK);
/* configure clock dfsr */
diff --git a/src/soc/qualcomm/sc7180/qupv3_uart.c b/src/soc/qualcomm/sc7180/qupv3_uart.c
index f9d99bb..4048525 100644
--- a/src/soc/qualcomm/sc7180/qupv3_uart.c
+++ b/src/soc/qualcomm/sc7180/qupv3_uart.c
@@ -71,7 +71,7 @@
/* sc7180 requires 16 clock pulses to sample 1 bit of data */
uart_freq = baud_rate * 16;
- div = DIV_ROUND_CLOSEST(QUPV3_UART_SRC_HZ, uart_freq);
+ div = DIV_ROUND_CLOSEST(SRC_XO_HZ, uart_freq);
write32(®s->geni_ser_m_clk_cfg, (div << 4) | 1);
write32(®s->geni_ser_s_clk_cfg, (div << 4) | 1);
@@ -147,7 +147,7 @@
serial.baseaddr = (uint32_t)uart_platform_base(CONFIG_UART_FOR_CONSOLE);
serial.baud = get_uart_baudrate();
serial.regwidth = 4;
- serial.input_hertz = QUPV3_UART_SRC_HZ;
+ serial.input_hertz = SRC_XO_HZ;
lb_add_serial(&serial, data);
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/42095
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2531b64eddfa6e877f769af0d17be61f5e4d0c35
Gerrit-Change-Number: 42095
Gerrit-PatchSet: 1
Gerrit-Owner: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-MessageType: newchange
Caveh Jalali has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45384 )
Change subject: volteer: set GSPI CS to deasserted by default
......................................................................
Patch Set 1:
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/coreboot/+/45384
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I47aa5db429d75e66095d58a1eb77963dcfc3b9f3
Gerrit-Change-Number: 45384
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Andrey Pronin <apronin(a)chromium.org>
Gerrit-Reviewer: Jes Klinke <jbk(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Comment-Date: Tue, 15 Sep 2020 00:26:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment