summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/include/mach/scu.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-04-21 20:38:22 +0900
committerMarek Vasut <marex@denx.de>2015-05-07 05:21:15 +0200
commit30088b09975017c90979d55bc0ead58ca424652f (patch)
tree99e9d089471805c750a67f6a95220add8db649da /arch/arm/mach-socfpga/include/mach/scu.h
parent05a217212b41c6342fc1c6be0fe49ce28c9afe40 (diff)
downloadtalos-obmc-uboot-30088b09975017c90979d55bc0ead58ca424652f.tar.gz
talos-obmc-uboot-30088b09975017c90979d55bc0ead58ca424652f.zip
ARM: socfpga: move SoC headers to mach-socfpga/include/mach
Move headers to mach-socfpga as well. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/scu.h')
-rw-r--r--arch/arm/mach-socfpga/include/mach/scu.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/scu.h b/arch/arm/mach-socfpga/include/mach/scu.h
new file mode 100644
index 0000000000..7a5b07416d
--- /dev/null
+++ b/arch/arm/mach-socfpga/include/mach/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__ */
OpenPOWER on IntegriCloud