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 enable 8-bit mode on AM335X SDMMC2
details: https://anonhg.NetBSD.org/src/rev/6fbe90cfcfd8
branches: trunk
changeset: 341373:6fbe90cfcfd8
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Nov 02 22:21:26 2015 +0000
description:
enable 8-bit mode on AM335X SDMMC2
diffstat:
sys/arch/evbarm/beagle/beagle_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6f91e08fba20 -r 6fbe90cfcfd8 sys/arch/evbarm/beagle/beagle_machdep.c
--- a/sys/arch/evbarm/beagle/beagle_machdep.c Mon Nov 02 22:21:01 2015 +0000
+++ b/sys/arch/evbarm/beagle/beagle_machdep.c Mon Nov 02 22:21:26 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: beagle_machdep.c,v 1.61 2015/07/22 14:10:45 maxv Exp $ */
+/* $NetBSD: beagle_machdep.c,v 1.62 2015/11/02 22:21:26 jmcneill 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.61 2015/07/22 14:10:45 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.62 2015/11/02 22:21:26 jmcneill Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -1083,7 +1083,7 @@
prop_dictionary_set_uint32(dict, "clkmask", 0);
prop_dictionary_set_bool(dict, "8bit", true);
#endif
-#if defined(TI_AM335X) && 0 // doesn't work
+#if defined(TI_AM335X)
struct obio_attach_args * const obio = aux;
if (obio->obio_addr == SDMMC2_BASE_TIAM335X)
prop_dictionary_set_bool(dict, "8bit", true);
Home |
Main Index |
Thread Index |
Old Index