summaryrefslogtreecommitdiffstats
path: root/u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-03-26 20:55:28 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-03-26 20:55:28 +0200
commit92988a21ad4c4c9504295ccb580c9f806134471b (patch)
tree5effc9f14170112450de05c67dafbe8d5034d595 /u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h
parentca2b506783b676c95762c54ea24dcfdaae1947c9 (diff)
downloadbootable_bootloader_goldelico_gta04-92988a21ad4c4c9504295ccb580c9f806134471b.zip
bootable_bootloader_goldelico_gta04-92988a21ad4c4c9504295ccb580c9f806134471b.tar.gz
bootable_bootloader_goldelico_gta04-92988a21ad4c4c9504295ccb580c9f806134471b.tar.bz2
added boot script files to repository
Diffstat (limited to 'u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h')
-rw-r--r--u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h b/u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h
new file mode 100644
index 0000000..3f1ff8b
--- /dev/null
+++ b/u-boot/arch/blackfin/include/asm/mach-bf548/BF547_cdef.h
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE
+ * Automatically generated by generate-cdef-headers.xsl
+ * DO NOT EDIT THIS FILE
+ */
+
+#ifndef __BFIN_CDEF_ADSP_BF547_proc__
+#define __BFIN_CDEF_ADSP_BF547_proc__
+
+#include "../mach-common/ADSP-EDN-core_cdef.h"
+
+#include "ADSP-EDN-BF547-extended_cdef.h"
+
+#define bfin_read_CHIPID() bfin_read32(CHIPID)
+#define bfin_write_CHIPID(val) bfin_write32(CHIPID, val)
+#define bfin_read_SWRST() bfin_read16(SWRST)
+#define bfin_write_SWRST(val) bfin_write16(SWRST, val)
+#define bfin_read_SYSCR() bfin_read16(SYSCR)
+#define bfin_write_SYSCR(val) bfin_write16(SYSCR, val)
+
+#endif /* __BFIN_CDEF_ADSP_BF547_proc__ */