]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: arm: realview: Fix development chip ROM compatible value
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 Aug 2023 15:03:04 +0000 (17:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 21 Feb 2024 22:30:01 +0000 (23:30 +0100)
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>
arch/arm/boot/dts/arm/arm-realview-pb1176.dts

index efed325af88d206fc5cc6f4d9b6e6d7f4f05cb77..d99bac02232b3703a04b8d03f36cf5eb12bd9f4e 100644 (file)
 
                /* Direct-mapped development chip ROM */
                pb1176_rom@10200000 {
-                       compatible = "direct-mapped";
+                       compatible = "mtd-rom";
                        reg = <0x10200000 0x4000>;
                        bank-width = <1>;
                };