NetBSD-Bugs archive

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

port-arm/48162: Typo in arm/omap/am335x_prcm.h AM335X_PRCM_CM_CLKSEL_DPLL_BYPASS definition



>Number:         48162
>Category:       port-arm
>Synopsis:       Typo in arm/omap/am335x_prcm.h 
>AM335X_PRCM_CM_CLKSEL_DPLL_BYPASS definition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 14:10:00 +0000 2013
>Originator:     Dennis Ferguson
>Release:        6.99.23
>Organization:
>Environment:
NetBSD beagle4.to.akit-ferguson.com 6.99.23 NetBSD 6.99.23 (BEAGLEBONE) #0: Fri 
Aug  2 02:14:24 EDT 2013  
dennis%ts1.to.mistimed.ca@localhost:/usr/obj/sys/arch/evbarm/compile/BEAGLEBONE 
evbarm

>Description:
In sys/arch/arm/omap/am335x_prcm.h the definition of 
AM335X_PRCM_CM_CLKSEL_DPLL_BYPASS has a typo; it uses __BITS()
to define a single bit mask.
>How-To-Repeat:

>Fix:
Index: sys/arch/arm/omap/am335x_prcm.h
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/omap/am335x_prcm.h,v
retrieving revision 1.5
diff -u -r1.5 am335x_prcm.h
--- sys/arch/arm/omap/am335x_prcm.h     29 Jun 2013 20:43:33 -0000      1.5
+++ sys/arch/arm/omap/am335x_prcm.h     29 Aug 2013 14:01:49 -0000
@@ -66,7 +66,7 @@
 #define  AM335X_PRCM_CM_IDLEST_DPLL_ST_DPLL_CLK_MN_BYPASS      __BIT(8)
 #define  AM335X_PRCM_CM_IDLEST_DPLL_ST_DPLL_CLK_LOCKED         __BIT(0)
 #define        AM335X_PRCM_CM_CLKSEL_DPLL_MPU  0x2c
-#define  AM335X_PRCM_CM_CLKSEL_DPLL_BYPASS     __BITS(23)
+#define  AM335X_PRCM_CM_CLKSEL_DPLL_BYPASS     __BIT(23)
 #define  AM335X_PRCM_CM_CLKSEL_DPLL_MULT       __BITS(18,8)
 #define  AM335X_PRCM_CM_CLKSEL_DPLL_DIV                __BITS(6,0)
 #define        AM335X_PRCM_CM_CLKMODE_DPLL_MPU 0x88



Home | Main Index | Thread Index | Old Index