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 1b5bc536c54700515b2218233e14ab5acef4612e..d6a1fc269241e5c3e0c925f01a0298fa71a2e87e 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 798c97aff7fa3b996ca928ee82e56b823f90cfb8..8e57e15307e20a623abb1855b3df206af325db84 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 {