Replace "mediatek,mt8188-nor" and "mediatek,mt8189-nor" with "mediatek,mt8186-nor" in the mtk_snor driver. Both of these have "mediatek,mt8186-nor" as a fallback, so we can use that instead of adding each new compatible when we add more similar SoCs.
Signed-off-by: David Lechner <[email protected]> --- drivers/spi/mtk_snor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/mtk_snor.c b/drivers/spi/mtk_snor.c index 40fc1826db6..95bd8f06eb9 100644 --- a/drivers/spi/mtk_snor.c +++ b/drivers/spi/mtk_snor.c @@ -607,8 +607,7 @@ static const struct mtk_snor_caps mtk_snor_caps_extra_bit = { static const struct udevice_id mtk_snor_ids[] = { { .compatible = "mediatek,mtk-snor", .data = (ulong)&mtk_snor_caps_default }, - { .compatible = "mediatek,mt8188-nor", .data = (ulong)&mtk_snor_caps_extra_bit }, - { .compatible = "mediatek,mt8189-nor", .data = (ulong)&mtk_snor_caps_extra_bit }, + { .compatible = "mediatek,mt8186-nor", .data = (ulong)&mtk_snor_caps_extra_bit }, { .compatible = "mediatek,mt8195-nor", .data = (ulong)&mtk_snor_caps_default }, {} }; --- base-commit: 24ecb168a113c9de96c172086bc357597a8d1e6e change-id: 20260806-mtk-snor-fallback-compatible-5733ceffb9fa Best regards, -- David Lechner <[email protected]>
