Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/beagle apply some #if defined(TI_AM335X) so ...



details:   https://anonhg.NetBSD.org/src/rev/83f7b3970be6
branches:  trunk
changeset: 818598:83f7b3970be6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 19 08:18:38 2016 +0000

description:
apply some #if defined(TI_AM335X) so this builds again.

diffstat:

 sys/arch/evbarm/beagle/beagle_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 0f76f5ff15c9 -r 83f7b3970be6 sys/arch/evbarm/beagle/beagle_machdep.c
--- a/sys/arch/evbarm/beagle/beagle_machdep.c   Wed Oct 19 04:23:37 2016 +0000
+++ b/sys/arch/evbarm/beagle/beagle_machdep.c   Wed Oct 19 08:18:38 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: beagle_machdep.c,v 1.66 2016/10/18 15:10:35 kiyohara Exp $ */
+/*     $NetBSD: beagle_machdep.c,v 1.67 2016/10/19 08:18:38 mrg Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.66 2016/10/18 15:10:35 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.67 2016/10/19 08:18:38 mrg Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -1104,6 +1104,7 @@
                        prop_dictionary_set_bool(dict, "is_console", true);
                return;
        }
+#if defined(TI_AM335X)
        if (device_is_a(self, "tifb")) {
                static const struct tifb_panel_info default_panel_info = {
                        .panel_tft = 1,
@@ -1142,6 +1143,7 @@
                        prop_dictionary_set_bool(dict, "is_console", true);
                return;
        }
+#endif
        if (device_is_a(self, "com")) {
                if (use_fb_console)
                        prop_dictionary_set_bool(dict, "is_console", false);



Home | Main Index | Thread Index | Old Index