u-boot/0010-sunxi-Enable-SPI-support-on-Orange-.patch
Matthias Brugger e21f425fe0 Accepting request 908408 from hardware👢staging
- Drop qemu-riscv64spl flavor
- Use generic opensbi for sifiveunleashed
- Rename sifivefu540 to sifiveunleashed to follow upstream
- Update to 2021.07
- Patch queue updated from https://github.com/openSUSE/u-boot.git tumbleweed-2021.07
* Patches dropped:
  0014-fs-btrfs-fix-the-false-alert-of-dec.patch
  0015-arm64-dts-meson-odroidc2-readd-PHY-.patch

OBS-URL: https://build.opensuse.org/request/show/908408
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=148
2021-07-27 10:35:46 +00:00

33 lines
1021 B
Diff

From 47ef0cfeb241574a8473b6458ca3f9d615669a46 Mon Sep 17 00:00:00 2001
From: Michal Suchanek <msuchanek@suse.de>
Date: Mon, 28 Sep 2020 23:02:02 +0200
Subject: [PATCH] sunxi: Enable SPI support on Orange Pi Zero
Enable support for SPI flash and the sf command.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---
configs/orangepi_zero_defconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 332cd4739e..1317a48ae6 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -8,6 +8,14 @@ CONFIG_DRAM_CLK=624
CONFIG_SPL_SPI_SUNXI=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_CONSOLE_MUX=y
+CONFIG_CMD_SF_TEST=y
+CONFIG_CMD_SPI=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_SPI_FLASH_SFDP_SUPPORT=y
+CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_SPI_FLASH_WINBOND=y
CONFIG_SUN8I_EMAC=y
+CONFIG_SPI=y
+CONFIG_DM_SPI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y