Commit 27674891 authored by Adrian Nistor's avatar Adrian Nistor
Browse files

Add support for reading A10 SPI flash

parent c714fb06
...@@ -160,6 +160,7 @@ static bool spi0_init(feldev_handle *dev) ...@@ -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, 2, SUNXI_GPC_SPI0);
gpio_set_cfgpin(dev, PC, 3, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 3, SUNXI_GPC_SPI0);
break; break;
case 0x1623: /* Allwinner A10 */
case 0x1651: /* Allwinner A20 */ case 0x1651: /* Allwinner A20 */
gpio_set_cfgpin(dev, PC, 0, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 0, SUNXI_GPC_SPI0);
gpio_set_cfgpin(dev, PC, 1, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 1, SUNXI_GPC_SPI0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment