Maxim Polyakov uploaded patch set #6 to this change.

View Change

mb/razer/blade_stealth_kbl/gpio: Convert configuration to macros

Use the intelp2m utility [1,2] to convert the current pad configuration
format to the format with the the PAD_CFG() macros (*).

$ ./intelp2m -n -t 1 -p snr -file src/mainboard/51nb/x210/gpio.h

Unlike the raw DW0 and DW1 registers values from the inteltool dump,
is more understandable and makes the code much cleaner.

[*] To do this, ignore some bit fields. See Patchset 1 | d9125e4cb0:
https://review.coreboot.org/c/coreboot/+/43411/1

[1] https://github.com/maxpoliak/pch-pads-parser
[2] https://review.coreboot.org/c/coreboot/+/35643

Change-Id: Ie9da1246b784578c1e29acc5c61a918841de7468
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
---
M src/mainboard/razer/blade_stealth_kbl/gpio.h
1 file changed, 152 insertions(+), 153 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/43411/6

To view, visit change 43411. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie9da1246b784578c1e29acc5c61a918841de7468
Gerrit-Change-Number: 43411
Gerrit-PatchSet: 6
Gerrit-Owner: Maxim Polyakov <max.senia.poliak@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00@gmail.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Mimoja <coreboot@mimoja.de>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset