diff options
author | Johanna Schander <coreboot@mimoja.de> | 2020-01-29 10:08:17 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-16 15:21:58 +0000 |
commit | e32ded82f051ded75e0589b15c3e31db56ff8aea (patch) | |
tree | 638e8c7a0c2d4cf342be6a7d220b671ba7250e82 /util/inteltool/pcr.c | |
parent | 7da602ff47a7681e5d2d0c1a42e8a7ea46b57e49 (diff) |
util/inteltool: Split GPIO community switch-case into its own function
So far printing the GPIO groups chose the community definition. As the
list of supported platforms grows the massive switch case gets repetetive
and hinders the readers view.
It also reduces the ability to reuse the code in a potential libinteltool.
To takle these issues the detection logic was split into its own function.
Change-Id: I215c1b7d6ec164b8afd9489ebd54b63d3df50cb9
Signed-off-by: Johanna Schander <coreboot@mimoja.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38631
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/inteltool/pcr.c')
0 files changed, 0 insertions, 0 deletions