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 Set clkmask for sdhc to 0.
details: https://anonhg.NetBSD.org/src/rev/b2830fea23f0
branches: trunk
changeset: 783256:b2830fea23f0
user: matt <matt%NetBSD.org@localhost>
date: Wed Dec 12 15:20:44 2012 +0000
description:
Set clkmask for sdhc to 0.
diffstat:
sys/arch/evbarm/beagle/beagle_machdep.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r d907a903e2c3 -r b2830fea23f0 sys/arch/evbarm/beagle/beagle_machdep.c
--- a/sys/arch/evbarm/beagle/beagle_machdep.c Wed Dec 12 15:19:53 2012 +0000
+++ b/sys/arch/evbarm/beagle/beagle_machdep.c Wed Dec 12 15:20:44 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: beagle_machdep.c,v 1.26 2012/12/12 02:42:25 matt Exp $ */
+/* $NetBSD: beagle_machdep.c,v 1.27 2012/12/12 15:20:44 matt 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.26 2012/12/12 02:42:25 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.27 2012/12/12 15:20:44 matt Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -667,4 +667,11 @@
#endif
return;
}
+
+ if (device_is_a(self, "sdhc")) {
+#if defined(OMAP_3530)
+ prop_dictionary_set_uint32(dict, "clkmask", 0);
+#endif
+ return;
+ }
}
Home |
Main Index |
Thread Index |
Old Index