Module Name: src Committed By: joerg Date: Wed Oct 29 10:28:03 UTC 2014
Modified Files: src/sys/arch/evbarm/awin: awin_machdep.c Log Message: Don't hang when booting Cubietruck via FEL. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/awin/awin_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbarm/awin/awin_machdep.c diff -u src/sys/arch/evbarm/awin/awin_machdep.c:1.21 src/sys/arch/evbarm/awin/awin_machdep.c:1.22 --- src/sys/arch/evbarm/awin/awin_machdep.c:1.21 Wed Oct 22 11:11:40 2014 +++ src/sys/arch/evbarm/awin/awin_machdep.c Wed Oct 29 10:28:03 2014 @@ -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 @@ awin_device_register(device_t self, void (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) {