Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28355
to look at the new patch set (#2).
Change subject: HiFive-Unleashed: add support clint
......................................................................
HiFive-Unleashed: add support clint
Change-Id: Ibc3a8644dcb83d5697d9d6e551c7682377285116
Signed-off-by: Xiang Wang <wxjstz(a)126.com>
---
A src/soc/sifive/fu540/clint.c
A src/soc/sifive/fu540/include/soc/clint.h
2 files changed, 58 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/28355/2
--
To view, visit https://review.coreboot.org/28355
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibc3a8644dcb83d5697d9d6e551c7682377285116
Gerrit-Change-Number: 28355
Gerrit-PatchSet: 2
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Xiang Wang has uploaded this change for review. ( https://review.coreboot.org/28355
Change subject: HiFive-Unleashed: add support clint
......................................................................
HiFive-Unleashed: add support clint
Change-Id: Ibc3a8644dcb83d5697d9d6e551c7682377285116
Signed-off-by: Xiang Wang <wxjstz(a)126.com>
---
A src/soc/sifive/fu540/clint.c
A src/soc/sifive/fu540/include/soc/clint.h
2 files changed, 60 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/28355/1
diff --git a/src/soc/sifive/fu540/clint.c b/src/soc/sifive/fu540/clint.c
new file mode 100644
index 0000000..463c22b
--- /dev/null
+++ b/src/soc/sifive/fu540/clint.c
@@ -0,0 +1,32 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018 HardenedLinux
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <mcall.h>
+#include <arch/io.h>
+#include <soc/clint.h>
+
+void mtime_init(void)
+{
+ long hart_id = read_csr(mhartid);
+ HLS()->time = (uint64_t *)0x20bff8;
+ HLS()->timecmp = (uint64_t *)(0x204000 + 8 * hart_id);
+}
+
+void set_msip(int hartid, int val)
+{
+ long hart_id = read_csr(mhartid);
+ write32((void *)(0x200000 + 4 * hart_id), !!val);
+}
+
diff --git a/src/soc/sifive/fu540/include/soc/clint.h b/src/soc/sifive/fu540/include/soc/clint.h
new file mode 100644
index 0000000..f120514
--- /dev/null
+++ b/src/soc/sifive/fu540/include/soc/clint.h
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018 HardenedLinux
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __SOC_SIFIVE_HIFIVE_U_CLOCK_H__
+#define __SOC_SIFIVE_HIFIVE_U_CLOCK_H__
+
+/* This function is used to initialize the hart-local storage field
+ * associated with mtime */
+void mtime_init(void);
+
+/* This function is used to operate msip. Used to send interrupt
+ * signals between with cores. */
+void set_msip(int hartid, int val);
+
+#endif
+
--
To view, visit https://review.coreboot.org/28355
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc3a8644dcb83d5697d9d6e551c7682377285116
Gerrit-Change-Number: 28355
Gerrit-PatchSet: 1
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Werner Zeh has posted comments on this change. ( https://review.coreboot.org/28351 )
Change subject: vendorcode/facebook: Add vendorcode
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/28351/1/src/vendorcode/facebook/Kconfig
File src/vendorcode/facebook/Kconfig:
https://review.coreboot.org/#/c/28351/1/src/vendorcode/facebook/Kconfig@24
PS1, Line 24: Celluar
Cellular seems to be the right spelling, or?
--
To view, visit https://review.coreboot.org/28351
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I761ac3d1dcbab9dceb7a4c4f835ca8363680eb03
Gerrit-Change-Number: 28351
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Mon, 27 Aug 2018 05:29:13 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28354
to look at the new patch set (#2).
Change subject: Documentation: fix sphinx warnings
......................................................................
Documentation: fix sphinx warnings
Fix warning from list in table cells for nri_registers.md
Change-Id: I2b77ad266d1c5f693536e161f96f3db19832989c
Signed-off-by: Tom Hiller <thrilleratplay(a)gmail.com>
---
M Documentation/northbridge/intel/sandybridge/nri_registers.md
1 file changed, 43 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/28354/2
--
To view, visit https://review.coreboot.org/28354
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2b77ad266d1c5f693536e161f96f3db19832989c
Gerrit-Change-Number: 28354
Gerrit-PatchSet: 2
Gerrit-Owner: Tom Hiller <thrilleratplay(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28353
to look at the new patch set (#3).
Change subject: google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz
......................................................................
google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz
Bayhub eMMC controller default runs SD base 50MHz at the first power on.
After boot into OS, mmc kernel driver will config controller to HS200/208MHz
and send MMC CMD21 (tuning block).
But Bayhub PCR register 0x3E4[22] (eMMC MODE select) is not clear
after system warn reset.
So eMMC will still run 208Mhz but there is no block tuning cmd in depthcharge.
It will cause two Sandisk eMMC (SDINBDA4-64G-V/SDINBDA4-32G-V) failing to
load kernel and trap in 0x5B error (No bootable kernel found on disk).
BUG=b:111964336
BRANCH=master
TEST=emerge-grunt coreboot
Change-Id: Ic080682e67323577c7f0ba4ed08f8adafca620cc
Signed-off-by: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
---
M src/drivers/generic/bayhub/bh720.c
M src/drivers/generic/bayhub/bh720.h
M src/mainboard/google/kahlee/variants/baseboard/mainboard.c
3 files changed, 49 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/28353/3
--
To view, visit https://review.coreboot.org/28353
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic080682e67323577c7f0ba4ed08f8adafca620cc
Gerrit-Change-Number: 28353
Gerrit-PatchSet: 3
Gerrit-Owner: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Kevin Chiu has uploaded a new patch set (#2). ( https://review.coreboot.org/28353 )
Change subject: google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz
......................................................................
google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz
Bayhub eMMC controller default runs SD base 50MHz at the first power on.
After boot into OS, mmc kernel driver will config controller to HS200/208MHz
and send MMC CMD21 (tuning block).
But Bayhub PCR register 0x3E4[22] (eMMC MODE select) is not clear
after system warn reset.
So eMMC will still run 208Mhz but there is no block tuning cmd in depthcharge.
It will cause two Sandisk eMMC (SDINBDA4-64G-V/SDINBDA4-32G-V) failing to
load kernel and trap in 0x5B error (No bootable kernel found on disk).
BUG=b:111964336
BRANCH=master
TEST=emerge-grunt coreboot
Change-Id: Ic080682e67323577c7f0ba4ed08f8adafca620cc
Signed-off-by: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
---
M src/drivers/generic/bayhub/bh720.c
M src/drivers/generic/bayhub/bh720.h
M src/mainboard/google/kahlee/variants/baseboard/mainboard.c
3 files changed, 49 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/28353/2
--
To view, visit https://review.coreboot.org/28353
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic080682e67323577c7f0ba4ed08f8adafca620cc
Gerrit-Change-Number: 28353
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>