]> git.sur5r.net Git - u-boot/commitdiff
MX51: add structure to access System Reset Controller
authorStefano Babic <sbabic@denx.de>
Fri, 20 Aug 2010 08:42:31 +0000 (10:42 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Sep 2010 09:24:31 +0000 (11:24 +0200)
Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx51/imx-regs.h

index 0e3bc2a4fb28b93ce0a8766c611290fb773bc18f..072ad0f6dd3f6eced3205984efd66882d2797ad0 100644 (file)
@@ -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__ */