diff options
| author | Andre Przywara <[email protected]> | 2026-05-08 10:52:50 +0200 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2026-07-26 23:20:07 +0200 |
| commit | 6882f72fa3562ab927072a231f1f5a54ed60f90b (patch) | |
| tree | 3153b003df6f11742ef232ce1e255bd8849ddc75 /doc/develop/bootstd/extlinux.rst | |
| parent | 4b5a1e0283aec9048d9e12cf137d969a203b5f62 (diff) | |
sunxi: spl: spi: Clean up SPI0 pinmux setting
The function to set the pinmux for the Port C SPI0 pins was looking more
like a logic puzzle from a magazine than something that readers could
understand and extend.
Replace the convoluted pinmux setup, grouped by pin, with a simple array
of the four pins involved, and just initialise this array at build time,
based on the selected SoC.
This makes it easy to see which pins are needed, and even easier to extend.
Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/extlinux.rst')
0 files changed, 0 insertions, 0 deletions
