HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37341 )
Change subject: sb/intel/i82801gx: Fix conversion from 'int' to 'signed char:1'
......................................................................
sb/intel/i82801gx: Fix conversion from 'int' to 'signed char:1'
Error found using -Wconversion on mainboard/macbook21/static.c
Change-Id: I23d7b876f778ab78e922709a0a36f5eec4d60e3d
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/southbridge/intel/i82801gx/chip.h
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/37341/1
diff --git a/src/southbridge/intel/i82801gx/chip.h b/src/southbridge/intel/i82801gx/chip.h
index 75b9575..f844515 100644
--- a/src/southbridge/intel/i82801gx/chip.h
+++ b/src/southbridge/intel/i82801gx/chip.h
@@ -76,9 +76,9 @@
/* Enable linear PCIe Root Port function numbers starting at zero */
uint8_t pcie_port_coalesce;
- int c4onc3_enable:1;
- int docking_supported:1;
- int p_cnt_throttling_supported:1;
+ signed char c4onc3_enable:1;
+ signed char docking_supported:1;
+ signed char p_cnt_throttling_supported:1;
int c3_latency;
/* Additional LPC IO decode ranges */
--
To view, visit https://review.coreboot.org/c/coreboot/+/37341
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I23d7b876f778ab78e922709a0a36f5eec4d60e3d
Gerrit-Change-Number: 37341
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37342 )
Change subject: sb/intel/i82801{i,j}x: Fix conversion from 'int' to 'signed char:6'
......................................................................
sb/intel/i82801{i,j}x: Fix conversion from 'int' to 'signed char:6'
Error found using option -Wconversion:
"error: conversion from 'int' to 'signed char:6' changes value from '49' to '-15'"
Change-Id: I3cdf4bf1b78b463846b3070ad4c6e82a7a329f5f
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/southbridge/intel/i82801ix/chip.h
M src/southbridge/intel/i82801jx/chip.h
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/37342/1
diff --git a/src/southbridge/intel/i82801ix/chip.h b/src/southbridge/intel/i82801ix/chip.h
index 73ee822..a11e00b 100644
--- a/src/southbridge/intel/i82801ix/chip.h
+++ b/src/southbridge/intel/i82801ix/chip.h
@@ -79,7 +79,7 @@
int throttle_duty : 3;
/* Bit mask to tell whether a PCIe slot is implemented as slot. */
- int pcie_slot_implemented : 6;
+ signed char pcie_slot_implemented : 6;
/* Power limits for PCIe ports. Values are in 10^(-scale) watts. */
struct {
diff --git a/src/southbridge/intel/i82801jx/chip.h b/src/southbridge/intel/i82801jx/chip.h
index e4c68fb..d84de8e 100644
--- a/src/southbridge/intel/i82801jx/chip.h
+++ b/src/southbridge/intel/i82801jx/chip.h
@@ -69,7 +69,7 @@
int throttle_duty : 3;
/* Bit mask to tell whether a PCIe slot is implemented as slot. */
- int pcie_slot_implemented : 6;
+ signed char pcie_slot_implemented : 6;
/* Power limits for PCIe ports. Values are in 10^(-scale) watts. */
struct {
--
To view, visit https://review.coreboot.org/c/coreboot/+/37342
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3cdf4bf1b78b463846b3070ad4c6e82a7a329f5f
Gerrit-Change-Number: 37342
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35546 )
Change subject: soc/intel/common/block/cse: Minor clean up some late comments
......................................................................
Patch Set 14:
(1 comment)
https://review.coreboot.org/c/coreboot/+/35546/14/src/soc/intel/common/bloc…
File src/soc/intel/common/block/include/intelblocks/cse.h:
https://review.coreboot.org/c/coreboot/+/35546/14/src/soc/intel/common/bloc…
PS14, Line 47: SOC_INTEL_APOLLOLAKE
> Ideally, I would prefer having the definition of me_hfsts1 in SoC specific code to avoid polluting c […]
In fact, I think I see at least one more deviation for TGL. Can you please check this across platforms to ensure if it is really a good idea to have this definition in common code.
--
To view, visit https://review.coreboot.org/c/coreboot/+/35546
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If7ea6043d7b5473d0c16e83d7b2d4b620c125652
Gerrit-Change-Number: 35546
Gerrit-PatchSet: 14
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Rizwan Qureshi <riz.pro(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 05 Jan 2020 18:49:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: comment
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35546 )
Change subject: soc/intel/common/block/cse: Minor clean up some late comments
......................................................................
Patch Set 14:
(1 comment)
https://review.coreboot.org/c/coreboot/+/35546/14/src/soc/intel/common/bloc…
File src/soc/intel/common/block/include/intelblocks/cse.h:
https://review.coreboot.org/c/coreboot/+/35546/14/src/soc/intel/common/bloc…
PS14, Line 47: SOC_INTEL_APOLLOLAKE
Ideally, I would prefer having the definition of me_hfsts1 in SoC specific code to avoid polluting common files with SoC specific Kconfigs. If this is the only outlier, we might be okay to live with it. But if there are more changes across platforms, we should just get rid of this definition from common code.
--
To view, visit https://review.coreboot.org/c/coreboot/+/35546
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If7ea6043d7b5473d0c16e83d7b2d4b620c125652
Gerrit-Change-Number: 35546
Gerrit-PatchSet: 14
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Rizwan Qureshi <riz.pro(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 05 Jan 2020 18:45:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment