Hello build bot (Jenkins), Paul Menzel, Angel Pons, Michael Niewöhner, Alexander Couzens, Patrick Rudolph, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/35643
to look at the new patch set (#20).
Change subject: util/intelp2m: add Intel Pad to Macro util ......................................................................
util/intelp2m: add Intel Pad to Macro util
A small utility for converting a pad configuration from the inteltool dump to the PAD_CFG_ * macro for coreboot. Currently, the utility supports several PCH: - Sunrise Point PCH for the mobile and desktop processors, - Lewisburg PCH for the server processors, - Apollo Lake SoC (without Host Software Pad Ownership status).
If the pad configuration can not be defined using standard macros from the gpio_defs.h [1], then the intelp2m utility generates "advanced" _PAD_CFG_STRUCT() macros.
If inteltool.log contains the configuration registers dump, the utility can analyze the Host Software Pad Ownership register and set the DRIVER or ACPI ownership for each pad configured as GPI.
Tested on the following boards:
- Asrock-H110M-DVS motherboard (Sky/Kaby Lake with H110 PCH)[2] - Kontron mAL10 COMe module (Atom x5-E3940, Apollo Lake SoC)[3] - Tioga Pass Server motherboard (Skylake-SP with C621 PCH)[4] - Cedar Island Server motherboard (Cooper Lake-SP with C627 PCH)[5]
[1] src/soc/intel/common/block/include/intelblocks/gpio_defs.h [2] https://review.coreboot.org/c/coreboot/+/33565 [3] https://review.coreboot.org/c/coreboot/+/39133 [4] https://review.coreboot.org/c/coreboot/+/40731 [5] https://review.coreboot.org/c/coreboot/+/40736
Change-Id: If3e3b523c4f63dc2f91e9ccd16934e3a1b6e21fa Signed-off-by: Maxim Polyakov max.senia.poliak@gmail.com --- A util/intelp2m/apollo/macro.go A util/intelp2m/apollo/template.go A util/intelp2m/common/macro.go A util/intelp2m/common/register.go A util/intelp2m/config/config.go A util/intelp2m/description.md A util/intelp2m/main.go A util/intelp2m/parser/parser.go A util/intelp2m/parser/template.go A util/intelp2m/sunrise/macro.go A util/intelp2m/sunrise/template.go 11 files changed, 1,662 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/35643/20