]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/blackfin/include/asm/mach-bf527/BF522_cdef.h
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[karo-tx-uboot.git] / arch / blackfin / include / asm / mach-bf527 / BF522_cdef.h
1 /* DO NOT EDIT THIS FILE
2  * Automatically generated by generate-cdef-headers.xsl
3  * DO NOT EDIT THIS FILE
4  */
5
6 #ifndef __BFIN_CDEF_ADSP_BF522_proc__
7 #define __BFIN_CDEF_ADSP_BF522_proc__
8
9 #include "../mach-common/ADSP-EDN-core_cdef.h"
10
11 #include "ADSP-EDN-BF52x-extended_cdef.h"
12
13 #define bfin_read_PLL_CTL()            bfin_read16(PLL_CTL)
14 #define bfin_write_PLL_CTL(val)        bfin_write16(PLL_CTL, val)
15 #define bfin_read_PLL_DIV()            bfin_read16(PLL_DIV)
16 #define bfin_write_PLL_DIV(val)        bfin_write16(PLL_DIV, val)
17 #define bfin_read_VR_CTL()             bfin_read16(VR_CTL)
18 #define bfin_write_VR_CTL(val)         bfin_write16(VR_CTL, val)
19 #define bfin_read_PLL_STAT()           bfin_read16(PLL_STAT)
20 #define bfin_write_PLL_STAT(val)       bfin_write16(PLL_STAT, val)
21 #define bfin_read_PLL_LOCKCNT()        bfin_read16(PLL_LOCKCNT)
22 #define bfin_write_PLL_LOCKCNT(val)    bfin_write16(PLL_LOCKCNT, val)
23 #define bfin_read_CHIPID()             bfin_read32(CHIPID)
24 #define bfin_write_CHIPID(val)         bfin_write32(CHIPID, val)
25 #define bfin_read_SWRST()              bfin_read16(SWRST)
26 #define bfin_write_SWRST(val)          bfin_write16(SWRST, val)
27 #define bfin_read_SYSCR()              bfin_read16(SYSCR)
28 #define bfin_write_SYSCR(val)          bfin_write16(SYSCR, val)
29
30 #endif /* __BFIN_CDEF_ADSP_BF522_proc__ */