Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap TI_DM37xx does not currently have a workin...
details: https://anonhg.NetBSD.org/src/rev/7dd9c2b230e4
branches: trunk
changeset: 346838:7dd9c2b230e4
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Aug 04 20:07:18 2016 +0000
description:
TI_DM37xx does not currently have a working omapscm(4), which provides
omap_devid(). Avoid using omap_devid() until correctly fixed.
diffstat:
sys/arch/arm/omap/omap3_sdhc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 82240d38391f -r 7dd9c2b230e4 sys/arch/arm/omap/omap3_sdhc.c
--- a/sys/arch/arm/omap/omap3_sdhc.c Thu Aug 04 18:07:43 2016 +0000
+++ b/sys/arch/arm/omap/omap3_sdhc.c Thu Aug 04 20:07:18 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap3_sdhc.c,v 1.22 2016/08/04 07:14:50 kiyohara Exp $ */
+/* $NetBSD: omap3_sdhc.c,v 1.23 2016/08/04 20:07:18 jakllsch Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap3_sdhc.c,v 1.22 2016/08/04 07:14:50 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap3_sdhc.c,v 1.23 2016/08/04 20:07:18 jakllsch Exp $");
#include "opt_omap.h"
#include "edma.h"
@@ -225,7 +225,7 @@
sc->sc.sc_flags |= SDHC_FLAG_RSP136_CRC;
if (support8bit)
sc->sc.sc_flags |= SDHC_FLAG_8BIT_MODE;
-#if defined(OMAP_3430)
+#if defined(OMAP_3430) || /* XXX until TI_DM37XX has working omap_devid() */ defined(TI_DM37XX)
sc->sc.sc_flags |= SDHC_FLAG_SINGLE_ONLY;
#elif defined(OMAP_3530) || defined(TI_DM37XX)
/*
Home |
Main Index |
Thread Index |
Old Index