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 <[email protected]>

---

 arch/arm/dts/zynq-binman-brcp1.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/zynq-binman-brcp1.dtsi 
b/arch/arm/dts/zynq-binman-brcp1.dtsi
index 3cc8ee8b810..c853e8c7b15 100644
--- a/arch/arm/dts/zynq-binman-brcp1.dtsi
+++ b/arch/arm/dts/zynq-binman-brcp1.dtsi
@@ -15,7 +15,7 @@
 
                blob@0 {
                        filename = "spl/boot.bin";
-                       offset = <0x0>;
+                       offset = <0x8000>;
                };
 
                fit {
-- 
2.51.2

base-commit: 4cad9faf8d2887b8851f0ced5194ffbaa92ca71e
branch: us/brcp1_move_spl

Reply via email to