From a55f82243abaac629e0b9e28d5a4a873e11535b1 Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 20 Apr 2021 19:33:03 +0000 Subject: [PATCH] Match on "amlogic,meson-sm1-mmc" compatible. --- sys/dev/fdt/amlmmc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/fdt/amlmmc.c b/sys/dev/fdt/amlmmc.c index d00699c13ae..bc657e4844e 100644 --- a/sys/dev/fdt/amlmmc.c +++ b/sys/dev/fdt/amlmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amlmmc.c,v 1.9 2020/08/24 15:15:08 kettenis Exp $ */ +/* $OpenBSD: amlmmc.c,v 1.10 2021/04/20 19:33:03 kettenis Exp $ */ /* * Copyright (c) 2019 Mark Kettenis * @@ -199,7 +199,8 @@ amlmmc_match(struct device *parent, void *match, void *aux) { struct fdt_attach_args *faa = aux; - return OF_is_compatible(faa->fa_node, "amlogic,meson-axg-mmc"); + return (OF_is_compatible(faa->fa_node, "amlogic,meson-axg-mmc") || + OF_is_compatible(faa->fa_node, "amlogic,meson-sm1-mmc")); } void -- 2.20.1