]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:46 +0000 (18:16 -0400)
commitbe5b1710e70da5aa4c3119d90134df9e1ab3a013
treeec9f66077507d94e1d34c28c581bcaf7eaa4f3b8
parentcf97d1ac719c011a7cfc3481fd72cc241afe3aab
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>
arch/arm/boot/dts/arm/arm-realview-pb1176.dts