diff options
author | Subrata Banik <subratabanik@google.com> | 2022-04-07 16:07:22 +0000 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-05-03 05:02:14 +0000 |
commit | 3f93a14fc36b6724566e42429f620d13b7171f17 (patch) | |
tree | 70d2866bb66db5335a03b41ebcdc1ee9474fcb26 | |
parent | 2aa77d99e63799689134c27963e2f99dee0486a6 (diff) | |
download | flashrom-3f93a14fc36b6724566e42429f620d13b7171f17.tar.gz flashrom-3f93a14fc36b6724566e42429f620d13b7171f17.tar.bz2 flashrom-3f93a14fc36b6724566e42429f620d13b7171f17.zip |
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
Reviewed-on: https://review.coreboot.org/c/flashrom/+/63470
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r-- | ichspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -463,7 +463,7 @@ static void prettyprint_ich9_reg_hsfc(uint16_t reg_val, enum ich_chipset ich_gen 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: |