Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/awin Add calls to awin_hdmi_sysconfig() and ...



details:   https://anonhg.NetBSD.org/src/rev/76055bed1312
branches:  trunk
changeset: 811342:76055bed1312
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Oct 25 21:21:52 2015 +0000

description:
Add calls to awin_hdmi_sysconfig() and awin_tcon_sysconfig(), missing from
previous commit.

diffstat:

 sys/arch/evbarm/awin/awin_machdep.c |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 22067e046415 -r 76055bed1312 sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Sun Oct 25 20:54:19 2015 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Sun Oct 25 21:21:52 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.44 2015/10/25 20:54:19 bouyer Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.45 2015/10/25 21:21:52 bouyer Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.44 2015/10/25 20:54:19 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.45 2015/10/25 21:21:52 bouyer Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -859,7 +859,19 @@
                                    "display-mode", "dvi");
                        }
                }
+#ifdef AWIN_SYSCONFIG
+               if (awin_sysconfig_p) {
+                       awin_hdmi_sysconfig(dict);
+               }
+#endif
        }
+#ifdef AWIN_SYSCONFIG
+       if (device_is_a(self, "awintcon")) {
+               if (awin_sysconfig_p) {
+                       awin_tcon_sysconfig(self, dict);
+               }
+       }
+#endif
 
 #if NAXP20X > 0
        if (device_is_a(self, "axp20x")) {



Home | Main Index | Thread Index | Old Index