[U-Boot] [PATCH v4 1/4] mx27: add missing constant for mx27

Stefano Babic sbabic at denx.de
Mon Jul 29 10:17:11 CEST 2013


On 28/07/2013 22:16, Philippe Reynes wrote:
> Add some missing constant (chip select, ...)
> 
> Signed-off-by: Philippe Reynes <tremyfr at yahoo.fr>
> Signed-off-by: Eric Jarrige <eric.jarrige at armadeus.org>
> ---
>  arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |    5 +++++
>  arch/arm/include/asm/arch-mx27/imx-regs.h |    2 +-
>  2 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c b/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c
> index f3a8d7b..215c562 100644
> --- a/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c
> +++ b/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c
> @@ -41,5 +41,10 @@ int main(void)
>  	DEFINE(ESDCFG1_ROF, offsetof(struct esdramc_regs, esdcfg1));
>  	DEFINE(ESDMISC_ROF, offsetof(struct esdramc_regs, esdmisc));
>  
> +	DEFINE(GPCR, IMX_SYSTEM_CTL_BASE +
> +		offsetof(struct system_control_regs, gpcr));
> +	DEFINE(FMCR, IMX_SYSTEM_CTL_BASE +
> +		offsetof(struct system_control_regs, fmcr));
> +
>  	return 0;
>  }
> diff --git a/arch/arm/include/asm/arch-mx27/imx-regs.h b/arch/arm/include/asm/arch-mx27/imx-regs.h
> index 8867e9f..51257a8 100644
> --- a/arch/arm/include/asm/arch-mx27/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx27/imx-regs.h
> @@ -185,7 +185,7 @@ struct iim_regs {
>  	struct fuse_bank {
>  		u32 fuse_regs[0x20];
>  		u32 fuse_rsvd[0xe0];
> -	} bank[1];
> +	} bank[2];
>  };
>  
>  struct fuse_bank0_regs {
> 

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list