summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-08-20 10:42:31 +0200
committerStefano Babic <sbabic@denx.de>2010-09-29 11:24:31 +0200
commit9583dfab1df155bf81e67859a3c2907ac0418260 (patch)
treed856c5cabcfb9c04d35ebcbb5c0022c61de73957
parent35af33da00d7059c82fb042bc5a373ff4fd88ada (diff)
downloadu-boot-imx-9583dfab1df155bf81e67859a3c2907ac0418260.zip
u-boot-imx-9583dfab1df155bf81e67859a3c2907ac0418260.tar.gz
u-boot-imx-9583dfab1df155bf81e67859a3c2907ac0418260.tar.bz2
MX51: add structure to access System Reset Controller
Signed-off-by: Stefano Babic <sbabic@denx.de>
-rw-r--r--arch/arm/include/asm/arch-mx51/imx-regs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx51/imx-regs.h b/arch/arm/include/asm/arch-mx51/imx-regs.h
index 0e3bc2a..072ad0f 100644
--- a/arch/arm/include/asm/arch-mx51/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx51/imx-regs.h
@@ -262,6 +262,16 @@ struct gpio_regs {
u32 gpio_dir;
u32 gpio_psr;
};
+
+/* System Reset Controller (SRC) */
+struct src {
+ u32 scr;
+ u32 sbmr;
+ u32 srsr;
+ u32 reserved1[2];
+ u32 sisr;
+ u32 simr;
+};
#endif /* __ASSEMBLER__*/
#endif /* __ASM_ARCH_MXC_MX51_H__ */