blob: fbd309210f696f5540de8a29779022d8dae9d926 [file] [log] [blame]
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001/* 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 Frysinger66c4cf42008-02-04 19:26:55 -050013#define bfin_read_CHIPID() bfin_read32(CHIPID)
14#define bfin_write_CHIPID(val) bfin_write32(CHIPID, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050015#define bfin_read_SWRST() bfin_read16(SWRST)
16#define bfin_write_SWRST(val) bfin_write16(SWRST, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050017#define bfin_read_SYSCR() bfin_read16(SYSCR)
18#define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050019
20#endif /* __BFIN_CDEF_ADSP_BF542_proc__ */