public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MX51: add structure to access System Reset Controller
@ 2010-08-20 10:57 Stefano Babic
  2010-08-20 11:00 ` Sergei Shtylyov
  2010-08-21  7:50 ` [U-Boot] [PATCH 04/16] " Stefano Babic
  0 siblings, 2 replies; 4+ messages in thread
From: Stefano Babic @ 2010-08-20 10:57 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Stefano Babic <sbabic@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..06f2720 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 (SRS) */
+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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] MX51: add structure to access System Reset Controller
  2010-08-20 10:57 [U-Boot] [PATCH] MX51: add structure to access System Reset Controller Stefano Babic
@ 2010-08-20 11:00 ` Sergei Shtylyov
  2010-08-20 11:21   ` Stefano Babic
  2010-08-21  7:50 ` [U-Boot] [PATCH 04/16] " Stefano Babic
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2010-08-20 11:00 UTC (permalink / raw)
  To: u-boot

Hello.

Stefano Babic wrote:

> Signed-off-by: Stefano Babic <sbabic@denx.de>
[...]
> diff --git a/arch/arm/include/asm/arch-mx51/imx-regs.h b/arch/arm/include/asm/arch-mx51/imx-regs.h
> index 0e3bc2a..06f2720 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 (SRS) */

    So, it's SRS or SRC?

> +struct src {
> +	u32	scr;
> +	u32	sbmr;
> +	u32	srsr;
> +	u32	reserved1[2];
> +	u32	sisr;
> +	u32	simr;
> +};
>  #endif /* __ASSEMBLER__*/

WBR, Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] MX51: add structure to access System Reset Controller
  2010-08-20 11:00 ` Sergei Shtylyov
@ 2010-08-20 11:21   ` Stefano Babic
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2010-08-20 11:21 UTC (permalink / raw)
  To: u-boot

Sergei Shtylyov wrote:
> Hello.
> 

Hi Sergej,

>> +/* 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

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 04/16] MX51: add structure to access System Reset Controller
  2010-08-20 10:57 [U-Boot] [PATCH] MX51: add structure to access System Reset Controller Stefano Babic
  2010-08-20 11:00 ` Sergei Shtylyov
@ 2010-08-21  7:50 ` Stefano Babic
  1 sibling, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2010-08-21  7:50 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Stefano Babic <sbabic@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-21  7:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-20 10:57 [U-Boot] [PATCH] MX51: add structure to access System Reset Controller Stefano Babic
2010-08-20 11:00 ` Sergei Shtylyov
2010-08-20 11:21   ` Stefano Babic
2010-08-21  7:50 ` [U-Boot] [PATCH 04/16] " Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox