]> Git Repo - linux.git/commit
riscv: dts: starfive: fix NOR flash reserved-data partition size
authorAurelien Jarno <[email protected]>
Sat, 26 Aug 2023 18:27:02 +0000 (20:27 +0200)
committerConor Dooley <[email protected]>
Tue, 12 Sep 2023 16:12:03 +0000 (17:12 +0100)
commit3e8bd1ba29f5e64c7ff2cb29f737f8510db1092f
tree6b9c02722fa5d638a08c241322f65aed6ff8a887
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
riscv: dts: starfive: fix NOR flash reserved-data partition size

The Starfive VisionFive 2 has a 16MiB NOR flash, while the reserved-data
partition is declared starting at address 0x600000 with a size of
0x1000000. This causes the kernel to output the following warning:

[   22.156589] mtd: partition "reserved-data" extends beyond the end of device "13010000.spi.0" -- size truncated to 0xa00000

It seems to be a confusion between the size of the partition and the end
address. Fix that by specifying the right size.

Fixes: 8384087a4223 ("riscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC")
Signed-off-by: Aurelien Jarno <[email protected]>
Reviewed-by: Emil Renner Berthing <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
This page took 0.0565369999999999 seconds and 4 git commands to generate.