summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-09-15 06:28:01 +0200
committerMarek Vasut <marex@denx.de>2014-10-06 17:46:50 +0200
commit181d363852b8b92e2175fd8ea220b7db444796f1 (patch)
tree29388b2fec4d4805e8d95b16046bb8aa8cc8ae4b /arch/arm
parentb5e9b296251f138ef9f9cfc15f408710a24831cd (diff)
downloadu-boot-imx-181d363852b8b92e2175fd8ea220b7db444796f1.zip
u-boot-imx-181d363852b8b92e2175fd8ea220b7db444796f1.tar.gz
u-boot-imx-181d363852b8b92e2175fd8ea220b7db444796f1.tar.bz2
arm: socfpga: scu: Add SCU register file
Add the Snoop Control Unit register definition file. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by: Pavel Machek <pavel@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-socfpga/scu.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-socfpga/scu.h b/arch/arm/include/asm/arch-socfpga/scu.h
new file mode 100644
index 0000000..7a5b074
--- /dev/null
+++ b/arch/arm/include/asm/arch-socfpga/scu.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 Marek Vasut <marex@denx.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __SOCFPGA_SCU_H__
+#define __SOCFPGA_SCU_H__
+
+struct scu_registers {
+ u32 ctrl; /* 0x00 */
+ u32 cfg;
+ u32 cpsr;
+ u32 iassr;
+ u32 _pad_0x10_0x3c[12]; /* 0x10 */
+ u32 fsar; /* 0x40 */
+ u32 fear;
+ u32 _pad_0x48_0x50[2];
+ u32 acr; /* 0x54 */
+ u32 sacr;
+};
+
+#endif /* __SOCFPGA_SCU_H__ */