The QSPI partitioning was still using the old syntax, upgrade to the new "fixed-partitions" compatible bindings. This makes the MTD layer recognize the partitions, and CONFIG_MTDPARTS_DEFAULT can be removed.
Signed-off-by: Mike Looijmans <[email protected]> --- arch/arm/dts/zynq-topic-miami.dts | 21 ++++++++++++--------- configs/topic_miami_defconfig | 2 -- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/arch/arm/dts/zynq-topic-miami.dts b/arch/arm/dts/zynq-topic-miami.dts index 73eea372079..066e27240ac 100644 --- a/arch/arm/dts/zynq-topic-miami.dts +++ b/arch/arm/dts/zynq-topic-miami.dts @@ -46,15 +46,18 @@ spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; spi-max-frequency = <100000000>; - #address-cells = <1>; - #size-cells = <1>; - partition@0 { - label = "qspi-boot-bin"; - reg = <0x00000 0x100000>; - }; - partition@100000 { - label = "qspi-rootfs"; - reg = <0x100000 0>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + partition@0 { + label = "qspi-boot-bin"; + reg = <0x00000 0x100000>; + }; + partition@100000 { + label = "qspi-rootfs"; + reg = <0x100000 0>; + }; }; }; }; diff --git a/configs/topic_miami_defconfig b/configs/topic_miami_defconfig index 8e8ae74801e..e736a64f371 100644 --- a/configs/topic_miami_defconfig +++ b/configs/topic_miami_defconfig @@ -57,8 +57,6 @@ CONFIG_CMD_USB=y CONFIG_CMD_CACHE=y # CONFIG_CMD_EFICONFIG is not set CONFIG_CMD_SQUASHFS=y -CONFIG_MTDIDS_DEFAULT="nor0=spi0.0" -CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:0x100000(qspi-boot-bin),-(qspi-rootfs)" CONFIG_CMD_UBI=y CONFIG_OF_EMBED=y CONFIG_ENV_OVERWRITE=y --- base-commit: ece349ade2973e220f524ce59e59711cc919263f branch: fixed-partitions -- 2.43.0 Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: [email protected] W: www.topic.nl Please consider the environment before printing this e-mail
