Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom Match brcm,bcm2711-cprman



details:   https://anonhg.NetBSD.org/src/rev/c26f03d90270
branches:  trunk
changeset: 967860:c26f03d90270
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Dec 24 13:40:56 2019 +0000

description:
Match brcm,bcm2711-cprman

diffstat:

 sys/arch/arm/broadcom/bcm2835_cprman.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 77304478bfcd -r c26f03d90270 sys/arch/arm/broadcom/bcm2835_cprman.c
--- a/sys/arch/arm/broadcom/bcm2835_cprman.c    Tue Dec 24 10:21:08 2019 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_cprman.c    Tue Dec 24 13:40:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_cprman.c,v 1.2 2018/09/09 07:21:17 aymeric Exp $ */
+/* $NetBSD: bcm2835_cprman.c,v 1.3 2019/12/24 13:40:56 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_cprman.c,v 1.2 2018/09/09 07:21:17 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_cprman.c,v 1.3 2019/12/24 13:40:56 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -155,7 +155,10 @@
 static int
 cprman_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "brcm,bcm2835-cprman", NULL };
+       const char * const compatible[] = {
+           "brcm,bcm2835-cprman",
+           "brcm,bcm2711-cprman",
+           NULL };
        const struct fdt_attach_args *faa = aux;
 
        return of_match_compatible(faa->faa_phandle, compatible);



Home | Main Index | Thread Index | Old Index