diff options
| author | Jonas Karlman <[email protected]> | 2025-08-31 16:49:28 +0000 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-11-01 21:17:43 +0800 |
| commit | 1a267cbc0d73dc66dc45d4a87e8258b6deef7670 (patch) | |
| tree | bba7043ec69f898748fdf9ee65b2ee83d672317a /arch | |
| parent | 3a253b259ba471ef60e9eafdb5f179e08b043d64 (diff) | |
rockchip: odroid-go2: Add support for SPI flash boot
The ODROID GO2 devices come with onboard SPI flash, add support for
using the SPI flash.
The BootROM seem to expect the IDBlock at 64 KiB offset compared to the
typical 32 KiB offset from start of SPI flash used by other SoCs.
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/dts/rk3326-u-boot.dtsi | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/dts/rk3326-u-boot.dtsi b/arch/arm/dts/rk3326-u-boot.dtsi index 196604a9987..be1dd4f91c1 100644 --- a/arch/arm/dts/rk3326-u-boot.dtsi +++ b/arch/arm/dts/rk3326-u-boot.dtsi @@ -6,8 +6,12 @@ #include "rockchip-u-boot.dtsi" / { + aliases { + spi2 = &sfc; + }; + chosen { - u-boot,spl-boot-order = &sdmmc; + u-boot,spl-boot-order = "same-as-spl", &sdmmc; }; dmc { @@ -22,6 +26,17 @@ }; }; +#ifdef CONFIG_ROCKCHIP_SPI_IMAGE +&binman { + simple-bin-spi { + mkimage { + args = "-n", CONFIG_SYS_SOC, "-T", "rksd"; + offset = <0x10000>; + }; + }; +}; +#endif + &cru { bootph-all; }; @@ -102,6 +117,7 @@ &sfc { bootph-some-ram; + u-boot,spl-sfc-no-dma; }; &sfc_bus2 { |
