Dear coreboot folks,
Today, in commit 952a4473ec23 (mb/google/brox: Add Arbitrage generated gpio.c file) [1], I first read consciously about the tool Arbitrage:
mb/google/brox: Add Arbitrage generated gpio.c file
Checking in gpio.c generated by arbitrage. Used this command line to generate: arb export-coreboot-gpio --refdes=U1 brox:proto1_20231017
Commit dbc904b26768 (mb/google/brya/var/ghost: Add auto-generated GPIO config from Arbitrage) [2], I found, where the tool is mentioned the first time, includes a description:
Arbitrage is an internal tool at Google to work with schematics programatically. In particular, it features an "export-coreboot-gpio" command, which, does it's best to try and make a gpio.c from the schematics to avoid human errors when translating to C code.
It’d be great, if you could share more details, and if there are plans to make it public. Also, is that tool used to create `gpio.c` for all boards?
Kind regards,
Paul
[1]: https://review.coreboot.org/c/coreboot/+/78657 [2]: https://review.coreboot.org/c/coreboot/+/65210