Commit 3bd3fb5a authored by Jagan Teki's avatar Jagan Teki

board: sopine: Enable SPI/SPI-FLASH

Sopine has Winbond SPI flash, so enable the same to use
flash on Sopine board.
Signed-off-by: Jagan Teki's avatarJagan Teki <jagan@amarulasolutions.com>
parent b03f135a
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
*/
/ {
aliases {
spi0 = &spi0;
};
};
&spi0 {
flash@0 {
compatible = "spi-flash";
};
};
......@@ -12,9 +12,16 @@ CONFIG_SPL_SPI_SUNXI=y
CONFIG_NR_DRAM_BANKS=1
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_SF=y
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-sopine-baseboard"
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_SUN6I_SPI=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_SUN8I_EMAC=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_EHCI_HCD=y
......
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