Hi all, The sun6i SPI peripheral needs to be reset before it can be used
Add the necessary offset #defines and perform this reset Tested on Orange Pi R1 (Allwinner H2+ / sun8i) and successfully booted from SPI Thanks, Signed-off-by: Fahad Sadah <fa...@sadah.uk> Fahad Sadah (2): sunxi: SPI: add AHB gate and reset offsets sunxi: SPI: reset bus when enabling clock arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 ++++ drivers/spi/sun6i_spi.c | 1 + 2 files changed, 5 insertions(+) -- 2.14.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot