]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: add support for Amlogic A1 SPI Flash Controller
authorIgor Prusov <IVPrusov@sberdevices.ru>
Tue, 24 Oct 2023 22:51:39 +0000 (01:51 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 27 Oct 2023 16:49:52 +0000 (12:49 -0400)
commitb59b0ce118667b6f3c30b848edfe9d1ead89ec8e
treec255d8d0d361942adb2614c68458b4a6793924b4
parentbf1cbba6c8187c4375a7928983f59de7151e7d8b
spi: add support for Amlogic A1 SPI Flash Controller

Add A1 SPIFC driver from Linux. Slightly modified to use u-boot driver
framework and accommodate to lack of ioread32_rep/iowrite32_rep.

Based on Linux version 6.6-rc4

Signed-off-by: Igor Prusov <IVPrusov@sberdevices.ru>
Signed-off-by: Martin Kurbanov <mmkurbanov@sberdevices.ru>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20231024225140.366571-2-ivprusov@sberdevices.ru
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
[trini: Drop <common.h> as it's not needed]
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/meson_spifc_a1.c [new file with mode: 0644]