[PATCH 1/6] arm64: dts: freescale: tqma9352: Add partitions subnode to spi-nor

Shawn Guo shawnguo2 at yeah.net
Sun Jun 2 18:12:18 PDT 2024


On Tue, Apr 23, 2024 at 01:31:46PM +0200, Alexander Stein wrote:
> The bootloader adds MTD partitions in this subnode if present, or in the
> spi-nor node itself otherwise. Direct children cause warnings like:
> 425e0000.spi: ofpart partition /soc at 0/bus at 42000000/spi at 425e0000/flash at 0/
>   partition at 600000 (/soc at 0/bus at 42000000/spi at 425e0000/flash at 0) #size-cells
>   is wrongly set to <0>, assuming <1> for parsing partitions.
> 
> This is due flexspi node having #size-cells = <0>. Setting #size-cells in
> MTD nodes itself is deprecated by mtd.yaml.
> Fix all this by adding an empty partitions node which the bootloader will
> fill with configured MTD partitions.
> 
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>

Applied all, thanks!




More information about the linux-arm-kernel mailing list