[U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support

Oskari Lemmelä oskari at lemmela.net
Tue Jan 22 16:17:30 UTC 2019


Hi,

On 22.1.2019 16.54, Alexander Graf wrote:
>
> On 05.01.19 18:52, Oskari Lemmela wrote:
>> Minimal changes to support sun6i based Allwinner SOCs
>> Changes are based to SPL driver arch/arm/mach-sunxi/spl_spi_sunxi.c
>>
>> Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
> I just tried to see if this patch gives me "sf" access on a SoPine
> system. Unfortunately, it seems as if the sun4i_spi driver doesn't even
> get probed?
>
> How did you manage to actually make use of this driver?
>
>
> Alex

You need to add spi0 alias to dts and enable needed drivers to defconfig.
You can take look from Jagan's patch [1].

I didn't include those changes as Maxime already commented [2]
that Kconfig depends/defaults should be modified first.

Thanks,
Oskari

[1] https://lists.denx.de/pipermail/u-boot/2018-December/353241.html
[2] https://lists.denx.de/pipermail/u-boot/2019-January/353784.html


More information about the U-Boot mailing list