[PATCH] riscv: dts: starfive: Update flash partition layout

matthias.bgg at kernel.org matthias.bgg at kernel.org
Mon Jun 3 08:07:55 PDT 2024


From: Matthias Brugger <matthias.bgg at gmail.com>

Up to now, the describe flash partition layout has some gaps.
Use the whole flash chip by getting rid of the gaps.

Suggested-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Signed-off-by: Matthias Brugger <matthias.bgg at gmail.com>

---

 arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
index 8ff6ea64f0489..37b4c294ffcc5 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
@@ -321,16 +321,13 @@ partitions {
 			#size-cells = <1>;
 
 			spl at 0 {
-				reg = <0x0 0x80000>;
+				reg = <0x0 0xf0000>;
 			};
 			uboot-env at f0000 {
 				reg = <0xf0000 0x10000>;
 			};
 			uboot at 100000 {
-				reg = <0x100000 0x400000>;
-			};
-			reserved-data at 600000 {
-				reg = <0x600000 0xa00000>;
+				reg = <0x100000 0xf00000>;
 			};
 		};
 	};
-- 
2.45.1




More information about the linux-riscv mailing list