summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-06 03:44:33 -0400
committerMike Frysinger <vapier@gentoo.org>2008-10-23 05:03:50 -0400
commit621e579b812dd1a2e6777f7cbf6e55e736505823 (patch)
treeac09bc75052ee9f3577ad002edfb91643b51ecd5 /include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h
parent06121c4e2d183887dcd7a4ca2dcd395b213ea15b (diff)
downloadu-boot-imx-621e579b812dd1a2e6777f7cbf6e55e736505823.zip
u-boot-imx-621e579b812dd1a2e6777f7cbf6e55e736505823.tar.gz
u-boot-imx-621e579b812dd1a2e6777f7cbf6e55e736505823.tar.bz2
Blackfin: fix SWRST register definition
The SWRST register is a 16bit, not 32bit, register. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h')
-rw-r--r--include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h b/include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h
index 297e262..4c439e5 100644
--- a/include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h
+++ b/include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h
@@ -897,9 +897,9 @@
#define pPLL_LOCKCNT ((uint16_t volatile *)PLL_LOCKCNT) /* PLL Lock Count register (16-bit) */
#define bfin_read_PLL_LOCKCNT() bfin_read16(PLL_LOCKCNT)
#define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val)
-#define pSWRST ((uint32_t volatile *)SWRST) /* Software Reset Register (16-bit) */
-#define bfin_read_SWRST() bfin_read32(SWRST)
-#define bfin_write_SWRST(val) bfin_write32(SWRST, val)
+#define pSWRST ((uint16_t volatile *)SWRST) /* Software Reset Register (16-bit) */
+#define bfin_read_SWRST() bfin_read16(SWRST)
+#define bfin_write_SWRST(val) bfin_write16(SWRST, val)
#define pSYSCR ((uint32_t volatile *)SYSCR) /* System Configuration register */
#define bfin_read_SYSCR() bfin_read32(SYSCR)
#define bfin_write_SYSCR(val) bfin_write32(SYSCR, val)