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 XLP specific CGM mode for SDHC_CLOCK_CTL.



details:   https://anonhg.NetBSD.org/src/rev/eaaf1b2c1ff6
branches:  trunk
changeset: 773430:eaaf1b2c1ff6
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 01 22:53:19 2012 +0000

description:
Add XLP specific CGM mode for SDHC_CLOCK_CTL.

diffstat:

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

diffs (19 lines):

diff -r e2c864ad7c3c -r eaaf1b2c1ff6 sys/dev/sdmmc/sdhcreg.h
--- a/sys/dev/sdmmc/sdhcreg.h   Wed Feb 01 22:48:15 2012 +0000
+++ b/sys/dev/sdmmc/sdhcreg.h   Wed Feb 01 22:53:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhcreg.h,v 1.4 2012/02/01 22:35:30 matt Exp $ */
+/*     $NetBSD: sdhcreg.h,v 1.5 2012/02/01 22:53:19 matt Exp $ */
 /*     $OpenBSD: sdhcreg.h,v 1.4 2006/07/30 17:20:40 fgsch Exp $       */
 
 /*
@@ -88,6 +88,9 @@
 #define SDHC_CLOCK_CTL                 0x2c
 #define  SDHC_SDCLK_DIV_SHIFT          8
 #define  SDHC_SDCLK_DIV_MASK           0xff
+#define  SDHC_SDCLK_XDIV_SHIFT         6
+#define  SDHC_SDCLK_XDIV_MASK          0x3
+#define  SDHC_SDCLK_CGM                        (1<<5)
 #define  SDHC_SDCLK_DVS_SHIFT          4
 #define  SDHC_SDCLK_DVS_MASK           0xf
 #define  SDHC_SDCLK_ENABLE             (1<<2)



Home | Main Index | Thread Index | Old Index