summaryrefslogtreecommitdiff
path: root/include/asm-m68k/m5235.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-03-28 00:04:18 +0100
committerWolfgang Denk <wd@denx.de>2010-03-28 00:04:18 +0100
commitbe1a91320ce0cb7330bb650d1576bb56c55092af (patch)
treef6bb6d34565d4f5b3386a23885fb3df6c17e0456 /include/asm-m68k/m5235.h
parent6b94b4962211c16ee2197048faa887e1f92f3757 (diff)
parent9d3a86aec52cb3c0e9badd12167d9292184ce4dd (diff)
Merge branch 'next' of git://git.denx.de/u-boot-coldfire into next
Diffstat (limited to 'include/asm-m68k/m5235.h')
-rw-r--r--include/asm-m68k/m5235.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68k/m5235.h b/include/asm-m68k/m5235.h
index 22987ac7789..71a40d33d20 100644
--- a/include/asm-m68k/m5235.h
+++ b/include/asm-m68k/m5235.h
@@ -557,8 +557,8 @@
#define CCM_RCON_MODE (0x0001)
/* Bit definitions and macros for CCM_CIR */
-#define CCM_CIR_PIN(x) (((x)&0x03FF)<<6)
-#define CCM_CIR_PRN(x) ((x)&0x003F)
+#define CCM_CIR_PIN(x) (((x) & 0xFFC0) >> 6)
+#define CCM_CIR_PRN(x) ((x) & 0x003F)
/*********************************************************************
* PLL Clock Module