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 Omap4 changes
details: https://anonhg.NetBSD.org/src/rev/d3dd2342100a
branches: trunk
changeset: 787439:d3dd2342100a
user: matt <matt%NetBSD.org@localhost>
date: Tue Jun 18 15:01:49 2013 +0000
description:
Omap4 changes
diffstat:
sys/arch/arm/omap/omap3_uhhreg.h | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
diffs (42 lines):
diff -r e412a0f0ca3c -r d3dd2342100a sys/arch/arm/omap/omap3_uhhreg.h
--- a/sys/arch/arm/omap/omap3_uhhreg.h Tue Jun 18 08:48:54 2013 +0000
+++ b/sys/arch/arm/omap/omap3_uhhreg.h Tue Jun 18 15:01:49 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap3_uhhreg.h,v 1.1 2012/12/12 00:33:45 matt Exp $ */
+/* $NetBSD: omap3_uhhreg.h,v 1.2 2013/06/18 15:01:49 matt Exp $ */
/*-
* Copyright (c) 2010 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -53,18 +53,20 @@
UHH_SYSSTATUS_RESETDONE)
#define UHH_HOSTCONFIG 0x40
-#define UHH_HOSTCONFIG_APP_START_CLK 0x80000000
-#define UHH_HOSTCONFIG_P3_ULPI_BYPASS 0x00001000
-#define UHH_HOSTCONFIG_P2_ULPI_BYPASS 0x00000800
-#define UHH_HOSTCONFIG_P3_CONNECT_STATUS 0x00000400
-#define UHH_HOSTCONFIG_P2_CONNECT_STATUS 0x00000200
-#define UHH_HOSTCONFIG_P1_CONNECT_STATUS 0x00000100
-#define UHH_HOSTCONFIG_ENA_INCR_ALIGN 0x00000020
-#define UHH_HOSTCONFIG_ENA_INCR16 0x00000010
-#define UHH_HOSTCONFIG_ENA_INCR8 0x00000008
-#define UHH_HOSTCONFIG_ENA_INCR4 0x00000004
-#define UHH_HOSTCONFIG_AUTOPPD_ON_OVERCUR_EN 0x00000002
-#define UHH_HOSTCONFIG_P1_ULPI_BYPASS 0x00000001
+#define UHH_HOSTCONFIG_APP_START_CLK __BIT(31)
+#define UHH_HOSTCONFIG_P2_MODE __BITS(19,18)
+#define UHH_HOSTCONFIG_P1_MODE __BITS(17,16)
+#define UHH_HOSTCONFIG_P3_ULPI_BYPASS __BIT(12)
+#define UHH_HOSTCONFIG_P2_ULPI_BYPASS __BIT(11)
+#define UHH_HOSTCONFIG_P3_CONNECT_STATUS __BIT(10)
+#define UHH_HOSTCONFIG_P2_CONNECT_STATUS __BIT(9)
+#define UHH_HOSTCONFIG_P1_CONNECT_STATUS __BIT(8)
+#define UHH_HOSTCONFIG_ENA_INCR_ALIGN __BIT(5)
+#define UHH_HOSTCONFIG_ENA_INCR16 __BIT(4)
+#define UHH_HOSTCONFIG_ENA_INCR8 __BIT(3)
+#define UHH_HOSTCONFIG_ENA_INCR4 __BIT(2)
+#define UHH_HOSTCONFIG_AUTOPPD_ON_OVERCUR_EN __BIT(1)
+#define UHH_HOSTCONFIG_P1_ULPI_BYPASS __BIT(0)
#define UHH_DEBUG_CSR 0x44
#define UHH_DEBUG_CSR_OHCI_CCS_3 0x00080000
Home |
Main Index |
Thread Index |
Old Index