All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx23: Fix the size of internal RAM
Date: Fri, 26 Apr 2013 20:11:49 +0200	[thread overview]
Message-ID: <201304262011.49735.marex@denx.de> (raw)
In-Reply-To: <1366995623-26480-1-git-send-email-festevam@gmail.com>

Dear Fabio Estevam,

> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> mx23 has 32kB of internal RAM.
> 
> While at it, use IRAM_BASE_ADDR and IRAM_SIZE as the other i.MX SoCs.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/include/asm/arch-mxs/regs-base.h |    3 +++
>  include/configs/mx23_olinuxino.h          |    4 ++--
>  include/configs/mx23evk.h                 |    4 ++--
>  3 files changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-mxs/regs-base.h
> b/arch/arm/include/asm/arch-mxs/regs-base.h index 2d9f96b..855f9d6 100644
> --- a/arch/arm/include/asm/arch-mxs/regs-base.h
> +++ b/arch/arm/include/asm/arch-mxs/regs-base.h
> @@ -28,6 +28,7 @@
>  #ifndef __MXS_REGS_BASE_H__
>  #define __MXS_REGS_BASE_H__
> 
> +#include <asm/sizes.h>
>  /*
>   * Register base addresses for i.MX23
>   */
> @@ -69,6 +70,8 @@
>  #define	MXS_USBPHY0_BASE	0x8007C000
>  #define	MXS_USBCTRL0_BASE	0x80080000
>  #define	MXS_DRAM_BASE		0x800E0000
> +#define IRAM_BASE_ADDR		0x00000000
> +#define IRAM_SIZE		SZ_32K

It's called OCRAM in the datasheet. And it's 128K on MX28.

[...]

Best regards,
Marek Vasut

      parent reply	other threads:[~2013-04-26 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 17:00 [U-Boot] [PATCH] mx23: Fix the size of internal RAM Fabio Estevam
2013-04-26 17:22 ` Otavio Salvador
2013-04-26 18:11 ` Marek Vasut [this message]

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=201304262011.49735.marex@denx.de \
    --to=marex@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.