diff options
author | Bora Guvendik <bora.guvendik@intel.com> | 2017-11-22 13:48:12 -0800 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2018-02-16 03:59:29 +0000 |
commit | 3f672323b5f5cd6eaf955a31ebd0f73685f1d257 (patch) | |
tree | c619cda6d614a0c37c873a8fe52d68f0439592eb /util/msrtool/linux.c | |
parent | 7e2fe06a46ad3c44b1eb77651c27d4b9166033a6 (diff) |
soc/intel/common/block/gpio: Change group offset calculation
Add group information for each gpio community and use it to
calculate offset of a pad within its group. Original implementation
assumed that the number of gpios in each group is same but that lead to
a bug for cnl since numbers differ for each group.
BUG=b:69616750
TEST=Need to test again on SKL,CNL,APL,GLK
Change-Id: I02ab1d878bc83d32222be074bd2db5e23adaf580
Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Reviewed-on: https://review.coreboot.org/22571
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/msrtool/linux.c')
0 files changed, 0 insertions, 0 deletions