MX51: add structure to access System Reset Controller
Subsystems (2)
PATCH 1/1 MX51: add structure to access System Reset Controller
Signed-off-by Stefano Babic <[email protected]>
--- arch/arm/include/asm/arch-mx51/imx-regs.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-mx51/imx-regs.h +10 -0
@@ -262,6 +262,16 @@ struct gpio_regs {u32 gpio_dir;u32 gpio_psr; }; + +/* System Reset Controller (SRS) */ +struct src { +u32 scr; +u32 sbmr; +u32 srsr; +u32 reserved1[2 ]; +u32 sisr; +u32 simr; +};#endif /* __ASSEMBLER__*/ #endif /* __ASM_ARCH_MXC_MX51_H__ */
Signature · 1 line
1.6.3.3
PATCH 1/1 MX51: add structure to access System Reset Controller
Hello.
Quoted 1 line · Stefano Babic
Signed-off-by Stefano Babic <[email protected]>
[...]
arch/arm/include/asm/arch-mx51/imx-regs.h struct gpio_regs { · line 266
Quoted 10 lines
arch/arm/include/asm/arch-mx51/imx-regs.h +2
-0@@ -262,6 +262,16 @@ struct gpio_regs {u32 gpio_dir;u32 gpio_psr; }; + +/* System Reset Controller (SRS) */
So, it's SRS or SRC?
arch/arm/include/asm/arch-mx51/imx-regs.h struct gpio_regs { · line 275
Quoted 9 lines
arch/arm/include/asm/arch-mx51/imx-regs.h +8
-0+struct src { +u32 scr; +u32 sbmr; +u32 srsr; +u32 reserved1[2 ]; +u32 sisr; +u32 simr; +};#endif /* __ASSEMBLER__*/
WBR, Sergei
PATCH 1/1 MX51: add structure to access System Reset Controller
Quoted 2 lines · Sergei Shtylyov
Hello.
Hi Sergej,
Quoted 3 lines
Quoted 1 line
+/* System Reset Controller (SRS) */
So, it's SRS or SRC?
Thanks to point out. With srs (reset status) and src (reset controller) I have confused the names..
Best regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 4/16 MX51: add structure to access System Reset Controller
In reply to Stefano BabicSigned-off-by Stefano Babic <[email protected]>
--- arch/arm/include/asm/arch-mx51/imx-regs.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-mx51/imx-regs.h +10 -0
@@ -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__ */
Signature · 1 line
1.6.3.3