Skip to contentSkip to conversation

rockchip: rk3399-puma: support Gigadevice SPI-NOR flash

PATCH In review Philipp Tomsich 2 participants 3 messages Feb 3, 2019 – Apr 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: rk3399-puma: support Gigadevice SPI-NOR flash

Over the last quarter, a part of our production has used NOR flash from Gigadevice in addition to the Winbond parts that we typically source. This requires the SPI_FLASH_GIGADEVICE config to be set.

Enable SPI_FLASH_GIGADEVICE in the board's default defconfig.

---

 configs/puma-rk3399_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/puma-rk3399_defconfig +1 -0
index 3fcff25..9b4bfaf 100644
@@ -67,6 +67,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_ROCKCHIP=y
 CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 rockchip: rk3399-puma: support Gigadevice SPI-NOR flash

Quoted 18 lines · Philipp Tomsich

Over the last quarter, a part of our production has used NOR flash from Gigadevice in addition to the Winbond parts that we typically source. This requires the SPI_FLASH_GIGADEVICE config to be set.

Enable SPI_FLASH_GIGADEVICE in the board's default defconfig.

---

 configs/puma-rk3399_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/puma-rk3399_defconfig +0 -0
index 3fcff25..9b4bfaf 100644

configs/puma-rk3399_defconfig CONFIG_MMC_SDHCI=y · line 73

Quoted 7 lines
configs/puma-rk3399_defconfig +1 -0
@@ -67,6 +67,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_ROCKCHIP=y
 CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
#2 lore raw
In reply to Philipp Tomsich
Quoted 4 lines

Over the last quarter, a part of our production has used NOR flash from Gigadevice in addition to the Winbond parts that we typically source. This requires the SPI_FLASH_GIGADEVICE config to be set.

Quoted 9 lines

Enable SPI_FLASH_GIGADEVICE in the board's default defconfig.

---

 configs/puma-rk3399_defconfig | 1 +
 1 file changed, 1 insertion(+)

Applied to u-boot-rockchip, thanks!