]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: gemini: Fix partition offsets
authorLinus Walleij <linusw@kernel.org>
Thu, 28 May 2026 08:25:26 +0000 (10:25 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 May 2026 21:58:35 +0000 (23:58 +0200)
These FIS partition offsets were never right: the comment clearly
states the FIS index is at 0xfe0000 and 0x7f * 0x200000 is
0xfe0000.

Tested on the iTian SQ201.

Fixes: d88b11ef91b1 ("ARM: dts: Fix up SQ201 flash access")
Fixes: b5a923f8c739 ("ARM: dts: gemini: Switch to redboot partition parsing")
Signed-off-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/gemini/gemini-sl93512r.dts
arch/arm/boot/dts/gemini/gemini-sq201.dts

index 4992ec276de92e923eb5a91c6d82d44bd8de4fad..341dec9b636a8bb8127d679733f8c0c9067745f7 100644 (file)
                        partitions {
                                compatible = "redboot-fis";
                                /* Eraseblock at 0xfe0000 */
-                               fis-index-block = <0x1fc>;
+                               fis-index-block = <0x7f>;
                        };
                };
 
index f8c6f6e5cdea6acaf4e9019fa29b92acb84b1e75..bfd1e8581ad67ca0a0c0734f9c1c25c4525f6943 100644 (file)
                        partitions {
                                compatible = "redboot-fis";
                                /* Eraseblock at 0xfe0000 */
-                               fis-index-block = <0x1fc>;
+                               fis-index-block = <0x7f>;
                        };
                };