[U-Boot] [PATCH 04/10] MX51: add structure to access System Reset Controller

Stefano Babic sbabic at denx.de
Thu Sep 30 14:47:54 CEST 2010


Signed-off-by: Stefano Babic <sbabic at denx.de>
---
 arch/arm/include/asm/arch-mx51/imx-regs.h |   10 ++++++++++
 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__ */
-- 
1.6.3.3



More information about the U-Boot mailing list