u-boot/arch/arm
Jonas Karlman 64f79f88a7 rockchip: rk3568-rock-3a: Enable boot from SPI NOR flash
Add sfc and flash node to device tree and config options to enable
support for booting from SPI NOR flash on Radxa ROCK 3 Model A.

Unlike prior generation SoCs the BootRom in RK3568 can read all data and
look for idbloader at 0x8000, same as on SD and eMMC.

Use the rksd format and modify the mkimage offset to generate a bootable
u-boot-rockchip-spi.bin that can be written to 0x0 of SPI NOR flash. The
FIT image is loaded from 0x60000.

  => sf probe
  SF: Detected mx25u12835f with page size 256 Bytes, erase size 4 KiB, total 16 MiB

  => load mmc 1:1 10000000 u-boot-rockchip-spi.bin
  1384448 bytes read in 119 ms (11.1 MiB/s)

  => sf update $fileaddr 0 $filesize
  device 0 offset 0x0, size 0x152000
  1179648 bytes written, 204800 bytes skipped in 9.901s, speed 143185 B/s

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-05-18 08:44:05 +08:00
..
cpu ARM: armv7: add non-SPL enable for Cortex SMPEN 2023-05-13 04:01:30 +02:00
dts rockchip: rk3568-rock-3a: Enable boot from SPI NOR flash 2023-05-18 08:44:05 +08:00
include reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
lib arm64: interrupts: print FAR_ELx on sync exceptions 2023-04-25 15:31:27 -04:00
mach-apple
mach-aspeed
mach-at91 global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
mach-bcm283x mmc: bcm2835-host: let firmware manage the clock divisor 2023-03-24 14:43:20 +00:00
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci
mach-exynos Correct SPL use of EXYNOS7420 2023-02-09 16:32:26 -05:00
mach-highbank
mach-histb arm: histb: hi3798mv200: add initial support for Hi3798MV200 HC2910-2AGHD05 board 2023-05-03 09:05:24 -04:00
mach-hpe arm: Correct cpu_reset function prototype on some platforms 2023-03-22 15:22:48 -04:00
mach-imx dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
mach-integrator
mach-ipq40xx
mach-k3 Kconfig: j721s2: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region 2023-05-04 13:06:22 -04:00
mach-keystone
mach-kirkwood arm: kirkwood: Move internal registers in arch_very_early_init() function 2023-03-24 13:11:47 +01:00
mach-lpc32xx
mach-mediatek arm: Correct cpu_reset function prototype on some platforms 2023-03-22 15:22:48 -04:00
mach-meson ARM: meson: switch AXG & GX dwc2 otg to DM 2023-01-20 16:21:31 +01:00
mach-mvebu drivers: fix debug string with fdt_addr_t input 2023-05-06 17:28:18 +08:00
mach-nexell
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile ARM: rmobile: Add support for Renesas RZ/N1 SoC 2023-05-13 04:01:30 +02:00
mach-rockchip rockchip: handle peripheral as well as otg dr_mode 2023-05-09 22:50:01 +08:00
mach-s5pc1xx
mach-snapdragon clocks: qcs404: Add support for I2C clocks 2023-02-13 10:01:52 -05:00
mach-socfpga Use grep -E or plain grep instead of egrep 2023-01-11 15:02:24 -05:00
mach-sti
mach-stm32
mach-stm32mp arm: stm32mp: spl: fix function with fdt_addr_t input 2023-05-06 17:28:18 +08:00
mach-sunxi sunxi: arm64: boot0.h: runtime check for RVBAR address 2023-04-12 00:17:22 +01:00
mach-tegra ARM: tegra20: implement BCT patching 2023-02-23 12:55:37 -07:00
mach-u8500
mach-uniphier
mach-versal xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00
mach-versal-net xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00
mach-versatile
mach-zynq
mach-zynqmp arm64: zynqmp: Fix issue of apps executing from R5 core 1 2023-05-15 09:33:57 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk arm: Centralize fixed register logic 2023-04-25 15:31:27 -04:00
Kconfig arm: add support for Hisilicon HiSTB family SoCs 2023-05-03 09:05:24 -04:00
Kconfig.debug
Makefile arm: add support for Hisilicon HiSTB family SoCs 2023-05-03 09:05:24 -04:00