[U-Boot] [PATCH 1/3] mx53: Change IPU_CTRL_BASE_ADDR definition

Stefano Babic sbabic at denx.de
Fri May 11 12:46:57 CEST 2012


On 11/05/2012 03:07, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> The original definition of IPU_CTRL_BASE_ADDR does match the value stated
> in the MX53 Reference Manual.
> 
> However, if using such value the IPU driver hangs when trying to access the IPU registers.
> 
> Looking for this definition in Freescale U-boot version shows that it is set as 0.
> 
> Set it as 0 here as well, so that we can have a working IPU driver for mx53.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---


Hi Fabio,

>  arch/arm/include/asm/arch-mx5/imx-regs.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h
> index cef4190..171c4ab 100644
> --- a/arch/arm/include/asm/arch-mx5/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx5/imx-regs.h
> @@ -34,7 +34,7 @@
>  #define NFC_BASE_ADDR_AXI       0xCFFF0000
>  #define CS1_BASE_ADDR           0xB8000000
>  #elif defined(CONFIG_MX53)
> -#define IPU_CTRL_BASE_ADDR      0x18000000
> +#define IPU_CTRL_BASE_ADDR      0x00000000
>  #define SPBA0_BASE_ADDR         0x50000000
>  #define AIPS1_BASE_ADDR         0x53F00000
>  #define AIPS2_BASE_ADDR         0x63F00000

Apart of the fact that it works, this chane appears really strange to
me. Maybe now it is not writing anymore in ipu, and the default values
are ok for mx53. It seems more a MX53 related issu in IPU3 driver, and
this change maybe hides the real problem. Do you have any additional
information to make this modification against the official Freescale's
reference manual ?

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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list