diff options
author | Wolfgang Denk <wd@denx.de> | 2008-11-01 15:59:35 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-11-01 15:59:35 +0100 |
commit | 4cc64742a89e8ce90c69c3c85e4e9f4706062f2f (patch) | |
tree | 38caa914ea08118a0613f3579790b2b76c217bb2 /include/asm-blackfin/mach-common/ADSP-EDN-extended_cdef.h | |
parent | 7c84fe6a06dad9f793ed85b39b1e6c11a7882f5c (diff) | |
parent | f177f4250c729727b1629fa8d8d6556c999e9b8c (diff) | |
download | bootable_bootloader_goldelico_gta04-4cc64742a89e8ce90c69c3c85e4e9f4706062f2f.zip bootable_bootloader_goldelico_gta04-4cc64742a89e8ce90c69c3c85e4e9f4706062f2f.tar.gz bootable_bootloader_goldelico_gta04-4cc64742a89e8ce90c69c3c85e4e9f4706062f2f.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
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.h | 9 |
1 files changed, 3 insertions, 6 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 2f5a265..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,18 +897,15 @@ #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) #define pEVT_OVERRIDE ((uint32_t volatile *)EVT_OVERRIDE) #define bfin_read_EVT_OVERRIDE() bfin_read32(EVT_OVERRIDE) #define bfin_write_EVT_OVERRIDE(val) bfin_write32(EVT_OVERRIDE, val) -#define pDSPID ((uint32_t volatile *)DSPID) -#define bfin_read_DSPID() bfin_read32(DSPID) -#define bfin_write_DSPID(val) bfin_write32(DSPID, val) #define pCHIPID ((uint32_t volatile *)CHIPID) #define bfin_read_CHIPID() bfin_read32(CHIPID) #define bfin_write_CHIPID(val) bfin_write32(CHIPID, val) |