Skip to content
Snippets Groups Projects
Commit 229563e2 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Sasha Levin
Browse files

ARM: dts: arm: realview: Fix development chip ROM compatible value


[ Upstream commit 3baa4c51 ]

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: 5c3f5edb ("ARM: realview: add flash devices to the PB1176 DTS")
Fixes: 642b1e8d ("mtd: maps: Merge physmap_of.c into physmap-core.c")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2478026f
No related branches found
No related tags found
No related merge requests found
......@@ -435,7 +435,7 @@
/* Direct-mapped development chip ROM */
pb1176_rom@10200000 {
compatible = "direct-mapped";
compatible = "mtd-rom";
reg = <0x10200000 0x4000>;
bank-width = <1>;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment