]> Git Repo - u-boot.git/commitdiff
arm: socfpga: scu: Add SCU register file
authorMarek Vasut <[email protected]>
Mon, 15 Sep 2014 04:28:01 +0000 (06:28 +0200)
committerMarek Vasut <[email protected]>
Mon, 6 Oct 2014 15:46:50 +0000 (17:46 +0200)
Add the Snoop Control Unit register definition file.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Pavel Machek <[email protected]>
Acked-by: Pavel Machek <[email protected]>
arch/arm/include/asm/arch-socfpga/scu.h [new file with mode: 0644]

diff --git a/arch/arm/include/asm/arch-socfpga/scu.h b/arch/arm/include/asm/arch-socfpga/scu.h
new file mode 100644 (file)
index 0000000..7a5b074
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 Marek Vasut <[email protected]>
+ *
+ * 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__ */
This page took 0.035198 seconds and 4 git commands to generate.