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 Don't hang when booting Cubietruck via ...



details:   https://anonhg.NetBSD.org/src/rev/78db22e69fbc
branches:  trunk
changeset: 803459:78db22e69fbc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Oct 29 10:28:03 2014 +0000

description:
Don't hang when booting Cubietruck via FEL.

diffstat:

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

diffs (28 lines):

diff -r eb451eac284c -r 78db22e69fbc sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Wed Oct 29 10:22:28 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Wed Oct 29 10:28:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.21 2014/10/22 11:11:40 jmcneill Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.22 2014/10/29 10:28:03 joerg 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.21 2014/10/22 11:11:40 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.22 2014/10/29 10:28:03 joerg Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -647,6 +647,9 @@
                    (cubietruck_p ? "<PH22" : "<PH5"));
                prop_dictionary_set_cstring(dict, "usb1drv", ">PH6");
 #endif
+#if AWIN_board == AWIN_cubietruck
+               prop_dictionary_set_cstring(dict, "usb0restrict", ">PH0");
+#endif
                prop_dictionary_set_cstring(dict, "status-led1", ">PH21");
                prop_dictionary_set_cstring(dict, "status-led2", ">PH20");
                if (cubietruck_p) {



Home | Main Index | Thread Index | Old Index