This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Link: https://github.com/openwrt/openwrt/pull/22875 Signed-off-by: Linus Walleij <linusw@kernel.org>
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
From 771db4a77c5fb6da4908825e65f500ad67f86e5f Mon Sep 17 00:00:00 2001
|
|
From: Linus Walleij <linusw@kernel.org>
|
|
Date: Fri, 23 Jan 2026 16:24:49 +0100
|
|
Subject: [PATCH] ARM: dts: gemini: Fix partition offsets
|
|
|
|
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>
|
|
---
|
|
arch/arm/boot/dts/gemini/gemini-sl93512r.dts | 2 +-
|
|
arch/arm/boot/dts/gemini/gemini-sq201.dts | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
|
|
+++ b/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
|
|
@@ -146,7 +146,7 @@
|
|
partitions {
|
|
compatible = "redboot-fis";
|
|
/* Eraseblock at 0xfe0000 */
|
|
- fis-index-block = <0x1fc>;
|
|
+ fis-index-block = <0x7f>;
|
|
};
|
|
};
|
|
|
|
--- a/arch/arm/boot/dts/gemini/gemini-sq201.dts
|
|
+++ b/arch/arm/boot/dts/gemini/gemini-sq201.dts
|
|
@@ -134,7 +134,7 @@
|
|
partitions {
|
|
compatible = "redboot-fis";
|
|
/* Eraseblock at 0xfe0000 */
|
|
- fis-index-block = <0x1fc>;
|
|
+ fis-index-block = <0x7f>;
|
|
};
|
|
};
|
|
|