All of lore.kernel.org
 help / color / mirror / Atom feed
From: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] mxs: Rename 'mx28_dram_init' to 'mxs_dram_init'
Date: Fri, 24 Aug 2012 08:49:06 +0300	[thread overview]
Message-ID: <503715D2.1030504@bluegiga.com> (raw)
In-Reply-To: <1345388311-11920-3-git-send-email-otavio@ossystems.com.br>

Hi Otavio,

On 08/19/2012 05:58 PM, Otavio Salvador wrote:
> The DRAM initialization, after SPL has complete, is exactly the same
> for all mxs SoCs so we should name it accordinly.
>
> The following boards has been changed:
>
>   * apx4devkit
>   * m28evk
>   * mx28evk
>   * sc_sps_1
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Acked-by: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>

> ---
>   arch/arm/cpu/arm926ejs/mxs/mxs.c          |    4 ++--
>   arch/arm/include/asm/arch-mxs/sys_proto.h |    2 +-
>   board/bluegiga/apx4devkit/apx4devkit.c    |    2 +-
>   board/denx/m28evk/m28evk.c                |    2 +-
>   board/freescale/mx28evk/mx28evk.c         |    2 +-
>   board/schulercontrol/sc_sps_1/sc_sps_1.c  |    2 +-
>   6 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c
> index a1769fd..c8cda6a 100644
> --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c
> +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c
> @@ -320,13 +320,13 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
>   }
>   #endif
>
> -int mx28_dram_init(void)
> +int mxs_dram_init(void)
>   {
>   	struct mxs_spl_data *data = (struct mxs_spl_data *)
>   		((CONFIG_SYS_TEXT_BASE - sizeof(struct mxs_spl_data)) & ~0xf);
>
>   	if (data->mem_dram_size == 0) {
> -		printf("MX28:\n"
> +		printf("MXS:\n"
>   			"Error, the RAM size passed up from SPL is 0!\n");
>   		hang();
>   	}
> diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
> index 9e4a4c9..fc84808 100644
> --- a/arch/arm/include/asm/arch-mxs/sys_proto.h
> +++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
> @@ -69,6 +69,6 @@ struct mxs_spl_data {
>   	uint32_t	mem_dram_size;
>   };
>
> -int mx28_dram_init(void);
> +int mxs_dram_init(void);
>
>   #endif	/* __SYS_PROTO_H__ */
> diff --git a/board/bluegiga/apx4devkit/apx4devkit.c b/board/bluegiga/apx4devkit/apx4devkit.c
> index 5a1042e..ae48ab5 100644
> --- a/board/bluegiga/apx4devkit/apx4devkit.c
> +++ b/board/bluegiga/apx4devkit/apx4devkit.c
> @@ -55,7 +55,7 @@ int board_early_init_f(void)
>
>   int dram_init(void)
>   {
> -	return mx28_dram_init();
> +	return mxs_dram_init();
>   }
>
>   int board_init(void)
> diff --git a/board/denx/m28evk/m28evk.c b/board/denx/m28evk/m28evk.c
> index 74da3ea..9473d10 100644
> --- a/board/denx/m28evk/m28evk.c
> +++ b/board/denx/m28evk/m28evk.c
> @@ -72,7 +72,7 @@ int board_init(void)
>
>   int dram_init(void)
>   {
> -	return mx28_dram_init();
> +	return mxs_dram_init();
>   }
>
>   #ifdef	CONFIG_CMD_MMC
> diff --git a/board/freescale/mx28evk/mx28evk.c b/board/freescale/mx28evk/mx28evk.c
> index 1320277..867d3c8 100644
> --- a/board/freescale/mx28evk/mx28evk.c
> +++ b/board/freescale/mx28evk/mx28evk.c
> @@ -64,7 +64,7 @@ int board_early_init_f(void)
>
>   int dram_init(void)
>   {
> -	return mx28_dram_init();
> +	return mxs_dram_init();
>   }
>
>   int board_init(void)
> diff --git a/board/schulercontrol/sc_sps_1/sc_sps_1.c b/board/schulercontrol/sc_sps_1/sc_sps_1.c
> index 5f58e0b..fda191a 100644
> --- a/board/schulercontrol/sc_sps_1/sc_sps_1.c
> +++ b/board/schulercontrol/sc_sps_1/sc_sps_1.c
> @@ -72,7 +72,7 @@ int board_init(void)
>
>   int dram_init(void)
>   {
> -	return mx28_dram_init();
> +	return mxs_dram_init();
>   }
>
>   #ifdef	CONFIG_CMD_MMC
>

  parent reply	other threads:[~2012-08-24  5:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19 14:58 [U-Boot] [PATCH 1/3] mxs: Replace i.MX233 by i.MX23 on copyright header Otavio Salvador
2012-08-19 14:58 ` [U-Boot] [PATCH 2/3] mxs: Only build internal Ethernet controller for i.MX28 Otavio Salvador
2012-08-19 15:06   ` Marek Vasut
2012-08-19 14:58 ` [U-Boot] [PATCH 3/3] mxs: Rename 'mx28_dram_init' to 'mxs_dram_init' Otavio Salvador
2012-08-19 15:07   ` Marek Vasut
2012-08-23 23:06     ` Otavio Salvador
2012-08-24  7:57       ` Stefano Babic
2012-08-24  5:49   ` Veli-Pekka Peltola [this message]
2012-08-19 15:05 ` [U-Boot] [PATCH 1/3] mxs: Replace i.MX233 by i.MX23 on copyright header Marek Vasut
2012-08-19 15:07   ` Otavio Salvador
2012-08-27  5:46 ` Stefano Babic

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=503715D2.1030504@bluegiga.com \
    --to=veli-pekka.peltola@bluegiga.com \
    --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.