diff options
author | Maxim Polyakov <max.senia.poliak@gmail.com> | 2020-06-27 21:51:09 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-03 05:20:18 +0000 |
commit | 4ecc903222dba826d928362c9a14103e8ca26f28 (patch) | |
tree | e75a6c0c8249cc41f4dbcd45342bed2ad9a35dc5 /src/device/i2c_bus.c | |
parent | 5da541f9e798175686467bc9d2210f32a9aaaa7e (diff) |
mb/up/squared/gpio: 3/3 Convert bit field macros to PAD_CFG
Converts bit fields macro to target PAD_CFG_*() macros, which were
hidden in the comments. To do this, the following command was used:
./intelp2m -n -t 1 -p apl -file ./test/up-gpio.h
This is part of the patch set
"mb/up/squared: Rewrite pad config using intelp2m":
CB:42608 - 1/3 Decode raw register values
CB:42915 - 2/3 Exclude fields that are not in PAD_CFG*
CB:39765 - 3/3 Converts bit field macros to PAD_CFG
Tested with BUILD_TIMELESS=1, its coreboot.rom does not change.
Change-Id: I266ec6fa10a9691a7b7d3cd6f2792624e8bd53d5
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39765
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/device/i2c_bus.c')
0 files changed, 0 insertions, 0 deletions