HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/29641 )
Change subject: SMBIOS: Update structurs to v2.7.1
......................................................................
Abandoned
the latest DSP0134 version is 3.2.0
V2.7.1 is too old!
--
To view, visit https://review.coreboot.org/c/coreboot/+/29641
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8bccedd277beb755b643a663f3278af25f8fbf96
Gerrit-Change-Number: 29641
Gerrit-PatchSet: 14
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Vanny E has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/25444 )
Change subject: soc/intel/denverton + mb: Change UART IRQ line in conflict with ME
......................................................................
Patch Set 10:
Hi Julien,
Was this tested on the latest spsInfo/spsManuf? Thanks..
--
To view, visit https://review.coreboot.org/c/coreboot/+/25444
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0c59ff80ef19b54c2de1a6a8205afe6482adfdff
Gerrit-Change-Number: 25444
Gerrit-PatchSet: 10
Gerrit-Owner: Julien Viard de Galbert <coreboot-review-ju(a)vdg.name>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: Julien Viard de Galbert <coreboot-review-ju(a)vdg.name>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Vanny E <vanessa.f.eusebio(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Comment-Date: Wed, 13 Feb 2019 20:53:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Philipp Deppenwiese has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29547 )
Change subject: security/vboot: Add measured boot mode
......................................................................
Patch Set 49:
(2 comments)
https://review.coreboot.org/#/c/29547/49/src/security/vboot/vboot_logic.c
File src/security/vboot/vboot_logic.c:
https://review.coreboot.org/#/c/29547/49/src/security/vboot/vboot_logic.c@3…
PS49, Line 319: if (IS_ENABLED(CONFIG_VBOOT_MEASURED_BOOT) && !vboot_platform_is_resuming()) {
> I think it would be cleaner to just check the flag rather than calling platform_is_resuming() twice […]
Done
https://review.coreboot.org/#/c/29547/49/src/security/vboot/vboot_logic.c@3…
PS49, Line 353: extend_pcrs(&ctx); /* ignore failures */
> Why did you change all of these? I think the tab there was intentional to make it more readable.
clang-format. Now it's fused to everything. Auto linting will be soon the default.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29547
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I339a2f1051e44f36aba9f99828f130592a09355e
Gerrit-Change-Number: 29547
Gerrit-PatchSet: 49
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 13 Feb 2019 13:22:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31375 )
Change subject: soc/intel/cannonlake: Configure serial debug uart
......................................................................
soc/intel/cannonlake: Configure serial debug uart
Set SerialIoDebugUartNumber to CONFIG_UART_FOR_CONSOLE
SerialIoDebugUartNumber UPD use to select UART Number for Debug Purpose
The default value of SerialIoDebugUartNumber is 2 by default it selects UART 2
so it needs to be initialized as per board config
BUG=b:123702398
Change-Id: I91df4bb756e8ea86db112f1cc28687f48b2c0525
Signed-off-by: Ronak Kanabar <ronak.kanabar(a)intel.com>
Reviewed-on: https://review.coreboot.org/c/31375
Reviewed-by: Furquan Shaikh <furquan(a)google.com>
Reviewed-by: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Reviewed-by: Subrata Banik <subrata.banik(a)intel.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/soc/intel/cannonlake/fsp_params.c
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Furquan Shaikh: Looks good to me, approved
Rizwan Qureshi: Looks good to me, approved
Subrata Banik: Looks good to me, approved
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c
index 866d9c8..c276c86 100644
--- a/src/soc/intel/cannonlake/fsp_params.c
+++ b/src/soc/intel/cannonlake/fsp_params.c
@@ -163,6 +163,9 @@
dev->enabled = 0;
params->XdciEnable = dev->enabled;
+ /* Set Debug serial port */
+ params->SerialIoDebugUartNumber = CONFIG_UART_FOR_CONSOLE;
+
/* Enable CNVi Wifi if enabled in device tree */
dev = dev_find_slot(0, PCH_DEVFN_CNViWIFI);
params->PchCnviMode = dev->enabled;
--
To view, visit https://review.coreboot.org/c/coreboot/+/31375
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I91df4bb756e8ea86db112f1cc28687f48b2c0525
Gerrit-Change-Number: 31375
Gerrit-PatchSet: 7
Gerrit-Owner: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Naresh Solanki <naresh.solanki(a)intel.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: RONAK KANABAR <ronak199323(a)gmail.com>
Gerrit-MessageType: merged
Duncan Laurie has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31295
Change subject: mb/google/sarien: Support multiple touchscreen at same address
......................................................................
mb/google/sarien: Support multiple touchscreen at same address
The Sarien board may have different touchscreen devices that use
the same I2C slave address but have different requirements such
as needing a special driver or ACPI configuration.
In order to support this the devicetree may be configured with
multiple devices at the same address and at boot time the unused
devices will be disabled.
Because there is no GPIO for selecting the device that is present
it can instead be selected with Kconfig, or by setting a VPD key
to the HID of the touchscreen device that is present.
This is currently limited to the Sarien variant but I added the
default touchscreen HID for Arcada to Kconfig so it would not
complain about the key not being set.
BUG=b:122019253
TEST=This was tested on a Sarien board by adding a second entry
to the devicetree at the same address. Without this change the
SSDT is not loaded by the kernel because of the address conflict.
After this change only the default touchscreen device is enabled,
and it can be switched by setting the 'touchscreen_hid' VPD key.
Change-Id: I4da12b1de0c551bcd89325fe0d8c66c6ffeb7afc
Signed-off-by: Duncan Laurie <dlaurie(a)google.com>
---
M src/mainboard/google/sarien/Kconfig
M src/mainboard/google/sarien/variants/sarien/Makefile.inc
A src/mainboard/google/sarien/variants/sarien/ramstage.c
3 files changed, 79 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/31295/1
diff --git a/src/mainboard/google/sarien/Kconfig b/src/mainboard/google/sarien/Kconfig
index dc8f486..905dddb 100644
--- a/src/mainboard/google/sarien/Kconfig
+++ b/src/mainboard/google/sarien/Kconfig
@@ -97,6 +97,11 @@
string
default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+config DEFAULT_TOUCHSCREEN_HID
+ string "Specify the touchscreen HID enabled by default"
+ default "WCOM48E2" if BOARD_GOOGLE_ARCADA
+ default "ACPI0C50" if BOARD_GOOGLE_SARIEN
+
config VBOOT
select HAS_RECOVERY_MRC_CACHE
select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
diff --git a/src/mainboard/google/sarien/variants/sarien/Makefile.inc b/src/mainboard/google/sarien/variants/sarien/Makefile.inc
index 2bf028e..fa5b2ea 100644
--- a/src/mainboard/google/sarien/variants/sarien/Makefile.inc
+++ b/src/mainboard/google/sarien/variants/sarien/Makefile.inc
@@ -14,6 +14,6 @@
##
bootblock-y += gpio.c
-ramstage-y += gpio.c
+ramstage-y += gpio.c ramstage.c
romstage-y += gpio.c
verstage-y += gpio.c
diff --git a/src/mainboard/google/sarien/variants/sarien/ramstage.c b/src/mainboard/google/sarien/variants/sarien/ramstage.c
new file mode 100644
index 0000000..b567ab1
--- /dev/null
+++ b/src/mainboard/google/sarien/variants/sarien/ramstage.c
@@ -0,0 +1,73 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2019 Google LLC
+ *
+ * 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 <bootstate.h>
+#include <console/console.h>
+#include <device/device.h>
+#include <drivers/i2c/hid/chip.h>
+#include <drivers/vpd/vpd.h>
+#include <soc/pci_devs.h>
+#include <string.h>
+
+/*
+ * This board may have different touchscreen devices that are at the
+ * same I2C slave address but need different drivers or ACPI configuration.
+ *
+ * The default touchscreen to be enabled is specified in Kconfig by the
+ * ACPI HID of the device. If a board is connected to a different
+ * touchscreen device it can be enabled in Kconfig or by setting the
+ * VPD key 'touchscreen_hid'.
+ */
+
+#define TOUCHSCREEN_I2C_ADDR 0x10
+#define TOUCHSCREEN_VPD_KEY "touchscreen_hid"
+
+static void disable_unused_touchscreen(void *unused)
+{
+ struct device *i2c0 = PCH_DEV_I2C0;
+ struct bus *i2c_slaves = i2c0->link_list;
+ struct device *slave = i2c_slaves->children;
+ char touchscreen_hid[9] = CONFIG_DEFAULT_TOUCHSCREEN_HID;
+ struct drivers_i2c_hid_config *info;
+
+ /* Look for VPD key that indicates which touchscreen is present */
+ if (IS_ENABLED(CONFIG_VPD) &&
+ !vpd_gets(TOUCHSCREEN_VPD_KEY, touchscreen_hid,
+ ARRAY_SIZE(touchscreen_hid), VPD_ANY))
+ printk(BIOS_INFO, "%s: VPD key '%s' not found, default to %s\n",
+ __func__, TOUCHSCREEN_VPD_KEY, touchscreen_hid);
+
+ /* Go through all I2C slave devices on this bus */
+ while (slave) {
+ /* Find all the I2C slaves with the matching address */
+ if (slave->path.type == DEVICE_PATH_I2C &&
+ slave->path.i2c.device == TOUCHSCREEN_I2C_ADDR) {
+ info = slave->chip_info;
+ /* Disable all devices except the matching HID */
+ if (strncmp(info->generic.hid, touchscreen_hid,
+ ARRAY_SIZE(touchscreen_hid))) {
+ printk(BIOS_INFO, "%s: Disable %s\n", __func__,
+ info->generic.hid);
+ slave->enabled = 0;
+ } else {
+ printk(BIOS_INFO, "%s: Enable %s\n", __func__,
+ info->generic.hid);
+ }
+ }
+ slave = slave->sibling;
+ }
+}
+BOOT_STATE_INIT_ENTRY(BS_WRITE_TABLES, BS_ON_ENTRY,
+ disable_unused_touchscreen, NULL);
--
To view, visit https://review.coreboot.org/c/coreboot/+/31295
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4da12b1de0c551bcd89325fe0d8c66c6ffeb7afc
Gerrit-Change-Number: 31295
Gerrit-PatchSet: 1
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: newchange