summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2019-05-29 16:48:51 +0300
committerSudeep Holla <sudeep.holla@arm.com>2019-05-30 15:39:50 +0300
commitb8e65c1939ffa49384f2a2dca2057b5a1c8c365a (patch)
treed8994c5ed4786ae570e829f2a8d67efd01639ae5 /arch/arm
parent6f3710f1f65fdc0da2b042ea6a9a738ddd146d4e (diff)
downloadlinux-b8e65c1939ffa49384f2a2dca2057b5a1c8c365a.tar.xz
ARM: dts: vexpress: set the right partition type for NOR flash
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/vexpress-v2m-rs1.dtsi3
-rw-r--r--arch/arm/boot/dts/vexpress-v2m.dtsi3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
index 1b5bc536c547..d6a1fc269241 100644
--- a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
+++ b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
@@ -35,6 +35,9 @@
reg = <0 0x00000000 0x04000000>,
<4 0x00000000 0x04000000>;
bank-width = <4>;
+ partitions {
+ compatible = "arm,arm-firmware-suite";
+ };
};
psram@1,00000000 {
diff --git a/arch/arm/boot/dts/vexpress-v2m.dtsi b/arch/arm/boot/dts/vexpress-v2m.dtsi
index 798c97aff7fa..8e57e15307e2 100644
--- a/arch/arm/boot/dts/vexpress-v2m.dtsi
+++ b/arch/arm/boot/dts/vexpress-v2m.dtsi
@@ -35,6 +35,9 @@
reg = <0 0x00000000 0x04000000>,
<1 0x00000000 0x04000000>;
bank-width = <4>;
+ partitions {
+ compatible = "arm,arm-firmware-suite";
+ };
};
psram@2,00000000 {