summaryrefslogtreecommitdiff
path: root/src/lib/gpio.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-01-26 01:02:00 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-02-01 18:31:08 +0000
commit99035650aaf4efe579cab0a6dd4aac2b0288f874 (patch)
tree2a602c3b9435f94d6a98aad495ce46bf1103531b /src/lib/gpio.c
parenta017e5fb3dda5ea6bbc94ee15b2e981eeaa2d918 (diff)
nb/intel/sandybridge: improve indexed register helper macros
Replace the multiplications with corresponding shifts, so that it's easier to see at which bit offsets the values get assigned. Change-Id: I0b0d5172394ff65edfe57bdad474631938e58872 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38577 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/lib/gpio.c')
0 files changed, 0 insertions, 0 deletions