[U-Boot] [PATCH] mx23: Fix the size of internal RAM

Otavio Salvador otavio at ossystems.com.br
Fri Apr 26 19:22:12 CEST 2013


On Fri, Apr 26, 2013 at 2:00 PM, Fabio Estevam <festevam at gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam at 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 at 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

Please fix the indenting to be the same.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


More information about the U-Boot mailing list