summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2023-08-30 17:03:04 +0200
committerSasha Levin <sashal@kernel.org>2024-03-26 18:22:35 -0400
commitd6a0ddacb07986dbd08d97b8c8b0928778e318b4 (patch)
tree5174d1f729e26983aa9d5fd38eb5edc76da59162
parent523bd0437c687d0b4edf7548b95217993746c64c (diff)
downloadlinux-stable-d6a0ddacb07986dbd08d97b8c8b0928778e318b4.tar.gz
linux-stable-d6a0ddacb07986dbd08d97b8c8b0928778e318b4.tar.bz2
linux-stable-d6a0ddacb07986dbd08d97b8c8b0928778e318b4.zip
ARM: dts: arm: realview: Fix development chip ROM compatible value
[ Upstream commit 3baa4c5143d65ebab2de0d99a395e5f4f1f46608 ] When the development chip ROM was added, the "direct-mapped" compatible value was already obsolete. In addition, the device node lacked the accompanying "probe-type" property, causing the old physmap_of_core driver to fall back to trying all available probe types. Unfortunately this fallback was lost when the DT and pdata cases were merged. Fix this by using the modern "mtd-rom" compatible value instead. Fixes: 5c3f5edbe0a1dff3 ("ARM: realview: add flash devices to the PB1176 DTS") Fixes: 642b1e8dbed7bbbf ("mtd: maps: Merge physmap_of.c into physmap-core.c") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--arch/arm/boot/dts/arm-realview-pb1176.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts
index 83e0fbc4a1a1..350a5dbd3613 100644
--- a/arch/arm/boot/dts/arm-realview-pb1176.dts
+++ b/arch/arm/boot/dts/arm-realview-pb1176.dts
@@ -427,7 +427,7 @@
/* Direct-mapped development chip ROM */
pb1176_rom@10200000 {
- compatible = "direct-mapped";
+ compatible = "mtd-rom";
reg = <0x10200000 0x4000>;
bank-width = <1>;
};