Tue Oct 4 15:46:07 2016 UTC ()
Fix revision value.  VERS2 is 0.


(kiyohara)
diff -r1.3 -r1.4 src/sys/arch/arm/omap/omap3_uhhreg.h

cvs diff -r1.3 -r1.4 src/sys/arch/arm/omap/Attic/omap3_uhhreg.h (expand / switch to unified diff)

--- src/sys/arch/arm/omap/Attic/omap3_uhhreg.h 2014/03/29 23:32:41 1.3
+++ src/sys/arch/arm/omap/Attic/omap3_uhhreg.h 2016/10/04 15:46:07 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: omap3_uhhreg.h,v 1.3 2014/03/29 23:32:41 matt Exp $ */ 1/* $NetBSD: omap3_uhhreg.h,v 1.4 2016/10/04 15:46:07 kiyohara Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2010 Jared D. McNeill <jmcneill@invisible.ca> 4 * Copyright (c) 2010 Jared D. McNeill <jmcneill@invisible.ca>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. The name of the author may not be used to endorse or promote products 12 * 2. The name of the author may not be used to endorse or promote products
13 * derived from this software without specific prior written permission. 13 * derived from this software without specific prior written permission.
14 * 14 *
@@ -22,27 +22,27 @@ @@ -22,27 +22,27 @@
22 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 22 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE. 25 * SUCH DAMAGE.
26 */ 26 */
27 27
28#ifndef _OMAP3_UHHREG_H 28#ifndef _OMAP3_UHHREG_H
29#define _OMAP3_UHHREG_H 29#define _OMAP3_UHHREG_H
30 30
31/* 32-bit */ 31/* 32-bit */
32#define UHH_REVISION 0x00 32#define UHH_REVISION 0x00
33#define UHH_REVISION_MAJOR(x) (((x) >> 4) & 0xf) 33#define UHH_REVISION_MAJOR(x) (((x) >> 4) & 0xf)
34#define UHH_REVISION_MINOR(x) ((x) & 0xf) 34#define UHH_REVISION_MINOR(x) ((x) & 0xf)
35#define UHH_REVISION_VERS2 2 35#define UHH_REVISION_VERS2 0
36 36
37#define UHH_HWINFO 0x04 37#define UHH_HWINFO 0x04
38#define UHH_HWINFO_SAR_CNTX_SIZE __BITS(9,0) 38#define UHH_HWINFO_SAR_CNTX_SIZE __BITS(9,0)
39 39
40#define UHH_SYSCONFIG 0x10 40#define UHH_SYSCONFIG 0x10
41#define UHH3_SYSCONFIG_MIDLEMODE_MASK 0x00003000 41#define UHH3_SYSCONFIG_MIDLEMODE_MASK 0x00003000
42#define UHH3_SYSCONFIG_MIDLEMODE_SMARTSTANDBY 0x00002000 42#define UHH3_SYSCONFIG_MIDLEMODE_SMARTSTANDBY 0x00002000
43#define UHH3_SYSCONFIG_CLOCKACTIVITY 0x00000100 43#define UHH3_SYSCONFIG_CLOCKACTIVITY 0x00000100
44#define UHH3_SYSCONFIG_SIDLEMODE_MASK 0x00000018 44#define UHH3_SYSCONFIG_SIDLEMODE_MASK 0x00000018
45#define UHH3_SYSCONFIG_SIDLEMODE_SMARTIDLE 0x00000008 45#define UHH3_SYSCONFIG_SIDLEMODE_SMARTIDLE 0x00000008
46#define UHH3_SYSCONFIG_ENAWAKEUP 0x00000004 46#define UHH3_SYSCONFIG_ENAWAKEUP 0x00000004
47#define UHH3_SYSCONFIG_SOFTRESET 0x00000002 47#define UHH3_SYSCONFIG_SOFTRESET 0x00000002
48#define UHH3_SYSCONFIG_AUTOIDLE 0x00000001 48#define UHH3_SYSCONFIG_AUTOIDLE 0x00000001