]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: brcp1: Move SPL partition to offset 0x8000 in SPI flash
authorWolfgang Wallner <wolfgang.wallner@br-automation.com>
Wed, 29 Oct 2025 09:22:47 +0000 (10:22 +0100)
committerMichal Simek <michal.simek@amd.com>
Wed, 19 Nov 2025 08:25:27 +0000 (09:25 +0100)
The ROM code of Xilinx Zynq searches the boot flash for a "BootROM header"
at increments of 32k (0x8000), beginning with 0x0000 for a
configuration without authentication and beginning with 0x8000
for a configuration with authentication. [1]

Move the offset of the SPL partition on the brcp1 board to 0x8000
so that both cases are the same, e.g. a board that is configured
without authentication can boot an SPL partition with or without
authentication.

[1] Zynq 7000 TRM, section 6.3 "BootROM Code"

Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20251029092252.115582-1-wolfgang.wallner@br-automation.com
arch/arm/dts/zynq-binman-brcp1.dtsi

index 3cc8ee8b8103e96d1180adcb3701ddb88baf4857..c853e8c7b1573162d84f3c46a3cb0c6779fcc68f 100644 (file)
@@ -15,7 +15,7 @@
 
                blob@0 {
                        filename = "spl/boot.bin";
-                       offset = <0x0>;
+                       offset = <0x8000>;
                };
 
                fit {