diff options
author | Subrata Banik <subratabanik@google.com> | 2022-01-11 12:20:24 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2022-01-12 18:40:24 +0000 |
commit | 778851366705579631f23b650edf3bc860f499e4 (patch) | |
tree | cc95f5f2ffd2e97f80d5005f6fd2f10db80a45e9 /src/mainboard/razer/blade_stealth_kbl/dsdt.asl | |
parent | 878d3723fbbaced4d53ebbdfdf89ef7bef06a06a (diff) |
soc/intel/common/gpio: Fix cosmetic issue with `gpio_lock_pads`
This patch replaces hardcoded `4` (next offset Tx state) with
`sizeof(uint32_t)` for calculating 'Tx state offset'.
Also, add checks to detect the specific GPIO lock action between
`LOCK_CONFIG` or 'LOCK_TX'.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: Iff712b16808e0bc99c575bb2426a4f84b89fdb73
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60994
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/razer/blade_stealth_kbl/dsdt.asl')
0 files changed, 0 insertions, 0 deletions