Daniel Wagenknecht b106a14e2f sunxi: SPI: fix pinmuxing for Allwinner H6 SoCs
The driver for SPI0 on Allwinner H6 SoCs did not use the correct define
SUN50I_GPC_SPI0 for the pin function, but one for a different Allwinner
SoC series.

Fix the conditionals to use the correct define for H6 SoCs. This matches
the conditional logic in the SPL spi driver.

Tested by probing the spi-flash on a pine64_h64-model-b board with
adapted device-tree (disable mmc2, enable spi0).

Signed-off-by: Daniel Wagenknecht <dwagenk@mailbox.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2022-01-30 01:03:37 +00:00
..
2020-06-11 15:14:04 +05:30
2022-01-19 18:11:34 +01:00
2021-09-13 18:23:13 -04:00
2022-01-19 18:11:34 +01:00
2021-09-25 09:46:15 -06:00
2021-06-25 20:59:45 +05:30
2021-02-23 10:45:55 -05:00
2021-02-23 10:45:55 -05:00