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 2/2] mxs: Use correct function name to initialize dram
Date: Mon, 20 Aug 2012 10:02:51 +0200	[thread overview]
Message-ID: <5031EF2B.6090701@denx.de> (raw)
In-Reply-To: <1345332492-3273-2-git-send-email-festevam@gmail.com>

On 19/08/2012 01:28, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> commit d92591a (mxs: Convert sys_proto.h prefixes to 'mxs') introduced
> a mxs_dram_init() function, which is not used anywhere.
> 
> Fix it, so that the following warning goes away:
> 
> mx28evk.c: In function ?dram_init?:
> mx28evk.c:67:2: warning: implicit declaration of function ?mx28_dram_init? [-Wimplicit-function-declaration]
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/include/asm/arch-mxs/sys_proto.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
> index 9d1e599..4610363 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 mxs_dram_init(void);
> +int mx28_dram_init(void);
>  
>  #endif	/* __SYS_PROTO_H__ */
> 

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic
-- 
=====================================================================
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-08-20  8:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 23:28 [U-Boot] [PATCH 1/2] mx28evk: Remove unneeded 'undef' Fabio Estevam
2012-08-18 23:28 ` [U-Boot] [PATCH 2/2] mxs: Use correct function name to initialize dram Fabio Estevam
2012-08-18 23:43   ` Marek Vasut
2012-08-19 13:46   ` Otavio Salvador
2012-08-19 15:33   ` Fabio Estevam
2012-08-19 15:36     ` Fabio Estevam
2012-08-19 15:39       ` Otavio Salvador
2012-08-20  8:02   ` Stefano Babic [this message]
2012-08-18 23:43 ` [U-Boot] [PATCH 1/2] mx28evk: Remove unneeded 'undef' Marek Vasut
2012-08-19  8:41 ` Stefano Babic
2012-08-20  8:02 ` 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=5031EF2B.6090701@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