Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sdmmc Add stuff that the Freescale PowerQUICC3 ESDHC...



details:   https://anonhg.NetBSD.org/src/rev/8728f5386c8e
branches:  trunk
changeset: 763351:8728f5386c8e
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Mar 17 16:56:58 2011 +0000

description:
Add stuff that the Freescale PowerQUICC3 ESDHC controllers have.

diffstat:

 sys/dev/sdmmc/sdhcreg.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 50be275d75d1 -r 8728f5386c8e sys/dev/sdmmc/sdhcreg.h
--- a/sys/dev/sdmmc/sdhcreg.h   Thu Mar 17 15:59:36 2011 +0000
+++ b/sys/dev/sdmmc/sdhcreg.h   Thu Mar 17 16:56:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhcreg.h,v 1.1 2009/04/21 03:00:30 nonaka Exp $       */
+/*     $NetBSD: sdhcreg.h,v 1.2 2011/03/17 16:56:58 matt Exp $ */
 /*     $OpenBSD: sdhcreg.h,v 1.4 2006/07/30 17:20:40 fgsch Exp $       */
 
 /*
@@ -87,6 +87,8 @@
 #define SDHC_CLOCK_CTL                 0x2c
 #define  SDHC_SDCLK_DIV_SHIFT          8
 #define  SDHC_SDCLK_DIV_MASK           0xff
+#define  SDHC_SDCLK_DVS_SHIFT          4
+#define  SDHC_SDCLK_DVS_MASK           0xf
 #define  SDHC_SDCLK_ENABLE             (1<<2)
 #define  SDHC_INTCLK_STABLE            (1<<1)
 #define  SDHC_INTCLK_ENABLE            (1<<0)
@@ -136,6 +138,7 @@
 #define  SDHC_MAX_BLK_LEN_512          0
 #define  SDHC_MAX_BLK_LEN_1024         1
 #define  SDHC_MAX_BLK_LEN_2048         2
+#define  SDHC_MAX_BLK_LEN_4096         3
 #define  SDHC_MAX_BLK_LEN_SHIFT                16
 #define  SDHC_MAX_BLK_LEN_MASK         0x3
 #define  SDHC_BASE_FREQ_SHIFT          8



Home | Main Index | Thread Index | Old Index