Subrata Banik has uploaded this change for review.

View Change

ichspi: Use `pprint_reg` macro for PCH100 HSFC FCYCLE offset

This patch uses `pprint_reg` macro instead `_pprint_reg` with explicit
register name and offset macros being passed as argument.

BUG=b:223630977
TEST=Able to display PCH100_HSFC.FCYCLE offset properly.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I5a8d84639b7226bf82458a7310f306c5232cffe3
---
M ichspi.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/70/63470/1
diff --git a/ichspi.c b/ichspi.c
index 551bbd3..fa0a9b9 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -463,7 +463,7 @@
case CHIPSET_400_SERIES_COMET_POINT:
case CHIPSET_500_SERIES_TIGER_POINT:
case CHIPSET_ELKHART_LAKE:
- _pprint_reg(HSFC, PCH100_HSFC_FCYCLE, PCH100_HSFC_FCYCLE_OFF, reg_val, ", ");
+ pprint_reg(PCH100_HSFC, FCYCLE, reg_val, ", ");
pprint_reg(PCH100_HSFC, WET, reg_val, ", ");
break;
default:

To view, visit change 63470. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I5a8d84639b7226bf82458a7310f306c5232cffe3
Gerrit-Change-Number: 63470
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subratabanik@google.com>
Gerrit-MessageType: newchange