u-boot/arch
Jonas Karlman cc11d5c4ba rockchip: rk3399-pinebook-pro: Fix SPL max size and SPI flash payload offset
TPL max size is limited to 184 KB, SPL is loaded to 0x0 and TF-A is
loaded to 0x40000, this limit SPL max size to 256 KB. With BootRom only
reading first 2 KB per 4 KB page of SPI flash, 880 KB may be needed for
TPL+SPL in a worst-case scenario. (184 KB + 256 KB) x 2 = 880 KB

Use 0xE0000 (896 KB) as the payload offset in SPI flash, this allows
for a payload of 3168 KB before env offset start to overlap.

Also add CONFIG_ROCKCHIP_SPI_IMAGE=y to build a bootable SPI flash
image, u-boot-rockchip-spi.bin.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <foss+u-boot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-07-31 17:34:43 +08:00
..
arc global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00
arm rockchip: rk3399-pinebook-pro: Fix SPL max size and SPI flash payload offset 2023-07-31 17:34:43 +08:00
m68k m68k: dts: add watchdog node 2023-07-25 23:21:42 +02:00
microblaze arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
mips mips: octeon: Correct types in cvmx-pko3-queue 2023-07-20 14:48:20 -04:00
nios2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
powerpc Merge tag 'fsl-qoriq-2023-7-13' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2023-07-19 07:59:34 -04:00
riscv riscv: define a cache line size for the generic CPU 2023-07-24 13:22:24 +08:00
sandbox Revert "Merge branch '2023-07-24-introduce-FF-A-suppport'" 2023-07-24 19:51:05 -04:00
sh sh: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
x86 x86: Switch QEMU over to use the bochs driver 2023-07-17 17:23:15 +08:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig acpi: Create a new Kconfig for ACPI 2023-05-11 10:25:29 +08:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds