[PATCH] rockchip: rk3576-rock-4d: Enable XMC SPI chip

Martin Herren <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260809-rk3576_radxa-rock-4_spi-v1-1-e3f2933f411d__14940.1922639058$1786226912$gmane$org@on-the-web.ch>
The Radxa Rock 4D exists also with a different SPI flash chip than the
one specified in the schematic[1]: XMC XM25QU128C.
At least board revision V1.12 can be impacted.

Enable CONFIG_SPI_FLASH_XMC Kconfig options.

Without this SPL fails to probe the SPI and thus fails to load u-boot
proper from SPI.

Vendor u-boot also enables CONFIG_SPI_FLASH_GIGADEVICE and
CONFIG_SPI_FLASH_WINBOND so other hardware configuration might exist.
They are not enabled by this patch.

[1] https://dl.radxa.com/rock4/4d/docs/hw/Radxa_ROCK_4D_SCH_V1.12.pdf

Signed-off-by: Martin Herren <[email protected]>
---
 configs/rock-4d-rk3576_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/rock-4d-rk3576_defconfig b/configs/rock-4d-rk3576_defconfig
index 7228a9d879a..93faf09962c 100644
--- a/configs/rock-4d-rk3576_defconfig
+++ b/configs/rock-4d-rk3576_defconfig
@@ -49,6 +49,7 @@ CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 CONFIG_SPI_
FLASH_MACRONIX=y
+CONFIG_SPI_FLASH_XMC=y
 CONFIG_DWC_ETH_QOS=y
 CONFIG_DWC_ETH_QOS_ROCKCHIP=y
 CONFIG_PHY_REALTEK=y

---
base-commit: d0615e4a67c8958fad4a8c39262074958f04c179
change-id: 20260808-rk3576_radxa-rock-4_spi-9c241f4e29e5

Best regards,
--  
Martin Herren <[email protected]>
signature.asc (application/pgp-signature, 322 B)
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wqsEARYIAF0Fgmp3qJEJEIiu+thqKlAPNRQAAAAAABwAEHNhbHRAbm90YXRp
b25zLm9wZW5wZ3Bqcy5vcmftTm2z9j0mihKNp/WsLvsbFiEEJgeVlthQxcLg
gu1biK762GoqUA8AAJZFAP9t7H3V8F9fD1yj5j1vepgsWLFgTEf1DvmfxAiK
LlUIEwEAlYirct89vULTu9OQoIWl94pKOZclbZMyuN+f1Pw31QY=
=cPye
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.