ARM: dts: vexpress: set the right partition type for NOR flash
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 29 May 2019 13:48:51 +0000 (14:48 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 30 May 2019 12:39:50 +0000 (13:39 +0100)
We should set up the partitions in the right way so we will find out
what is in the flash.

The ARM Firmware Suite now has its own compatible and proper device
tree bindings to trigger discovery of the flash contents, and Linux
supports handling the new type of AFS partitions.

Based on commit 7f8e78ca90e2 ("arm64: dts: juno: set the right partition
type for NOR flash")

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
arch/arm/boot/dts/vexpress-v2m.dtsi

index 1b5bc53..d6a1fc2 100644 (file)
@@ -35,6 +35,9 @@
                                reg = <0 0x00000000 0x04000000>,
                                      <4 0x00000000 0x04000000>;
                                bank-width = <4>;
+                               partitions {
+                                       compatible = "arm,arm-firmware-suite";
+                               };
                        };
 
                        psram@1,00000000 {
index 798c97a..8e57e15 100644 (file)
@@ -35,6 +35,9 @@
                                reg = <0 0x00000000 0x04000000>,
                                      <1 0x00000000 0x04000000>;
                                bank-width = <4>;
+                               partitions {
+                                       compatible = "arm,arm-firmware-suite";
+                               };
                        };
 
                        psram@2,00000000 {