Attention is currently required from: Martin L Roth.
Jon Murphy has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74594 )
Change subject: util/sconfig/main: Add variant/gpio.h to static.c ......................................................................
util/sconfig/main: Add variant/gpio.h to static.c
Add variant/gpio.h to static.c to allow redefined GPIO names to be used within devicetree files. This will allow programs to use a more meaningful name for their GPIOs than simply GPIO_X.
BUG=b:278969100, b:278968729 TEST=builds
Change-Id: Ia16211ef73fa9c6221f98c36879dd740631b8ad2 Signed-off-by: Jon Murphy jpmurphy@google.com --- M util/sconfig/main.c 1 file changed, 18 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/74594/1
diff --git a/util/sconfig/main.c b/util/sconfig/main.c index aa79f1e..4562c6a 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -1965,6 +1965,7 @@ fprintf(f, "#include <device/device.h>\n"); fprintf(f, "#include <device/pci.h>\n"); fprintf(f, "#include <fw_config.h>\n"); + fprintf(f, "#include <variant/gpio.h>\n"); fprintf(f, "#include <%s>\n", static_header); emit_chip_headers(f, chip_header.next); emit_identifiers(f, "struct device_operations", device_operations);