Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35225 )
Change subject: soc/intel/common/block/cse: Move me_read_config32() to common code
......................................................................
Patch Set 13:
(1 comment)
https://review.coreboot.org/c/coreboot/+/35225/2/src/soc/intel/common/block/...
File src/soc/intel/common/block/cse/cse.c:
https://review.coreboot.org/c/coreboot/+/35225/2/src/soc/intel/common/block/...
PS2, Line 518: index = 1
There is no benefit/optimization going with static structure. […]
IMHO, you don't need to add this print then if no benefit, leave it on caller if wishes to add debug msg.
uint32_t me_read_config32(int offset)
{
1. /* Do check if PCH_DEV_CSE != NULL */
2. /* Check device is present in Bus like DID != 0xFFFF to avoid returning junk data (notify with debug msg) if HECI been disable and user doesn't realize that part and wishes to read status */
pci_read_config32(PCH_DEV_CSE, offset);
}
--
To view, visit
https://review.coreboot.org/c/coreboot/+/35225
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icdbfb6b30a007d469b5e018a313c14586addb130
Gerrit-Change-Number: 35225
Gerrit-PatchSet: 13
Gerrit-Owner: Sridhar Siricilla
sridhar.siricilla@intel.com
Gerrit-Reviewer: Aamir Bohra
aamir.bohra@intel.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Rizwan Qureshi
rizwan.qureshi@intel.com
Gerrit-Reviewer: Sridhar Siricilla
sridhar.siricilla@intel.com
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: V Sowmya
v.sowmya@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 09 Sep 2019 11:56:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sridhar Siricilla
sridhar.siricilla@intel.com
Comment-In-Reply-To: Subrata Banik
subrata.banik@intel.com
Gerrit-MessageType: comment