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

Sergei Shtylyov sshtylyov at mvista.com
Fri Aug 20 13:00:18 CEST 2010


Hello.

Stefano Babic wrote:

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


More information about the U-Boot mailing list