public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] mx53: Change IPU_CTRL_BASE_ADDR definition
Date: Fri, 11 May 2012 12:46:57 +0200	[thread overview]
Message-ID: <4FACEE21.1010809@denx.de> (raw)
In-Reply-To: <1336698455-11921-1-git-send-email-festevam@gmail.com>

On 11/05/2012 03:07, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@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@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
=====================================================================

  parent reply	other threads:[~2012-05-11 10:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  1:07 [U-Boot] [PATCH 1/3] mx53: Change IPU_CTRL_BASE_ADDR definition Fabio Estevam
2012-05-11  1:07 ` [U-Boot] [PATCH 2/3] mx5: Rename mx51_fb_init() Fabio Estevam
2012-05-11  1:50   ` Liu Hui-R64343
2012-05-25  8:42   ` Anatolij Gustschin
2012-05-11  1:07 ` [U-Boot] [PATCH 3/3] mx53loco: Add LCD support Fabio Estevam
2012-05-11  1:50   ` Liu Hui-R64343
2012-05-25  8:43   ` Anatolij Gustschin
2012-05-11  1:49 ` [U-Boot] [PATCH 1/3] mx53: Change IPU_CTRL_BASE_ADDR definition Liu Hui-R64343
2012-05-11 10:46 ` Stefano Babic [this message]
2012-05-11 18:31   ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FACEE21.1010809@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox