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 Use __BIT(), not __BITS() to define a sing...



details:   https://anonhg.NetBSD.org/src/rev/3352fb7e83a2
branches:  trunk
changeset: 789643:3352fb7e83a2
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Aug 29 15:50:41 2013 +0000

description:
Use __BIT(), not __BITS() to define a single-bit mask.
>From Dennis Ferguson in PR#48162.

diffstat:

 sys/arch/arm/omap/am335x_prcm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1486c941cf78 -r 3352fb7e83a2 sys/arch/arm/omap/am335x_prcm.h
--- a/sys/arch/arm/omap/am335x_prcm.h   Thu Aug 29 15:46:17 2013 +0000
+++ b/sys/arch/arm/omap/am335x_prcm.h   Thu Aug 29 15:50:41 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am335x_prcm.h,v 1.5 2013/06/29 20:43:33 matt Exp $     */
+/*     $NetBSD: am335x_prcm.h,v 1.6 2013/08/29 15:50:41 riz Exp $      */
 
 /*
  * TI OMAP Power, Reset, and Clock Management on the AM335x
@@ -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