From 2767489196fd8be48588bb0347df0d04a200d42d Mon Sep 17 00:00:00 2001 From: Adrian Nistor Date: Mon, 14 Sep 2020 10:17:48 +0300 Subject: [PATCH] Add support for reading A10 SPI flash --- fel-spiflash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fel-spiflash.c b/fel-spiflash.c index 2cc4f47..612c9a5 100644 --- a/fel-spiflash.c +++ b/fel-spiflash.c @@ -160,6 +160,7 @@ static bool spi0_init(feldev_handle *dev) gpio_set_cfgpin(dev, PC, 2, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 3, SUNXI_GPC_SPI0); break; + case 0x1623: /* Allwinner A10 */ case 0x1651: /* Allwinner A20 */ gpio_set_cfgpin(dev, PC, 0, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 1, SUNXI_GPC_SPI0);