aboutsummaryrefslogtreecommitdiffstats
path: root/nicrealtek.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-07-16 15:39:19 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2020-07-16 22:28:25 +0000
commit68ba2ad6e0b86f11163f4ac87cff4762ec4a75ed (patch)
treecdbfd5fe1219df232a5fb8482f1f441d96cefb5c /nicrealtek.c
parent4c9b416379f2d0df7612b788189264028d2fc809 (diff)
downloadflashrom-68ba2ad6e0b86f11163f4ac87cff4762ec4a75ed.tar.gz
flashrom-68ba2ad6e0b86f11163f4ac87cff4762ec4a75ed.tar.bz2
flashrom-68ba2ad6e0b86f11163f4ac87cff4762ec4a75ed.zip
ichspi.c: Make pprinters parametric on ich_generation
Make the two prettyprint functions pure by taking the ich_generation value as a function parameter over a global variable: * prettyprint_ich9_reg_hsfs() * prettyprint_ich9_reg_hsfc() Change-Id: I5d4fb012c6b9b843ac30c1fe2ea6fe754c545a43 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/43501 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'nicrealtek.c')
0 files changed, 0 insertions, 0 deletions