Mike Frysinger | 66c4cf4 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 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_BF542_proc__ |
| 7 | #define __BFIN_CDEF_ADSP_BF542_proc__ |
| 8 | |
| 9 | #include "../mach-common/ADSP-EDN-core_cdef.h" |
| 10 | |
| 11 | #include "ADSP-EDN-BF542-extended_cdef.h" |
| 12 | |
Mike Frysinger | 66c4cf4 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 13 | #define bfin_read_CHIPID() bfin_read32(CHIPID) |
| 14 | #define bfin_write_CHIPID(val) bfin_write32(CHIPID, val) |
Mike Frysinger | 66c4cf4 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 15 | #define bfin_read_SWRST() bfin_read16(SWRST) |
| 16 | #define bfin_write_SWRST(val) bfin_write16(SWRST, val) |
Mike Frysinger | 66c4cf4 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 17 | #define bfin_read_SYSCR() bfin_read16(SYSCR) |
| 18 | #define bfin_write_SYSCR(val) bfin_write16(SYSCR, val) |
Mike Frysinger | 66c4cf4 | 2008-02-04 19:26:55 -0500 | [diff] [blame] | 19 | |
| 20 | #endif /* __BFIN_CDEF_ADSP_BF542_proc__ */ |