public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peng Fan <van.freenix@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 05/17] mx6slevk: Fix unused variable warning
Date: Tue, 9 May 2017 10:36:08 +0800	[thread overview]
Message-ID: <20170509023606.GA28300@linux-7smt.suse> (raw)
In-Reply-To: <1494296075-29477-5-git-send-email-trini@konsulko.com>

On Mon, May 08, 2017 at 10:14:23PM -0400, Tom Rini wrote:
>The variable usdhc1_pads is only referenced during SPL builds, add a
>guard.
>
>Cc: Fabio Estevam <fabio.estevam@nxp.com>
>Cc: Peng Fan <peng.fan@nxp.com>
>Cc: Stefano Babic <sbabic@denx.de>
>Signed-off-by: Tom Rini <trini@konsulko.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

>---
> board/freescale/mx6slevk/mx6slevk.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
>index d49543315b92..228514b106a8 100644
>--- a/board/freescale/mx6slevk/mx6slevk.c
>+++ b/board/freescale/mx6slevk/mx6slevk.c
>@@ -66,6 +66,7 @@ static iomux_v3_cfg_t const uart1_pads[] = {
> 	MX6_PAD_UART1_RXD__UART1_RXD | MUX_PAD_CTRL(UART_PAD_CTRL),
> };
> 
>+#ifdef CONFIG_SPL_BUILD
> static iomux_v3_cfg_t const usdhc1_pads[] = {
> 	/* 8 bit SD */
> 	MX6_PAD_SD1_CLK__USDHC1_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL),
>@@ -106,6 +107,7 @@ static iomux_v3_cfg_t const usdhc3_pads[] = {
> 	/*CD pin*/
> 	MX6_PAD_REF_CLK_32K__GPIO_3_22 | MUX_PAD_CTRL(NO_PAD_CTRL),
> };
>+#endif
> 
> static iomux_v3_cfg_t const fec_pads[] = {
> 	MX6_PAD_FEC_MDC__FEC_MDC | MUX_PAD_CTRL(ENET_PAD_CTRL),
>-- 
>1.9.1
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>https://lists.denx.de/listinfo/u-boot

  reply	other threads:[~2017-05-09  2:36 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09  2:14 [U-Boot] [PATCH 01/17] socrates: Fix a misleading indentation warning Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 02/17] rk3036: Fix unused variable warning Tom Rini
2017-05-09  3:19   ` Simon Glass
2017-05-12 17:21   ` [U-Boot] [U-Boot,02/17] " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 03/17] ot1200: " Tom Rini
2017-05-09  9:15   ` Christian Gmeiner
2017-05-12 17:22   ` [U-Boot] [U-Boot,03/17] " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 04/17] cgtqmx6eval: " Tom Rini
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 05/17] mx6slevk: " Tom Rini
2017-05-09  2:36   ` Peng Fan [this message]
2017-05-09  7:26   ` Stefano Babic
2017-05-12 17:22   ` [U-Boot] [U-Boot,05/17] " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 06/17] mx6ul_14x14_evk: " Tom Rini
2017-05-09  2:39   ` Peng Fan
2017-05-09  7:26   ` Stefano Babic
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 07/17] gw_ventana: Fix unused variable warnings Tom Rini
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 08/17] gdsys: P1022: " Tom Rini
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 09/17] pcm058: " Tom Rini
2017-05-09  7:26   ` Stefano Babic
2017-05-12 17:22   ` [U-Boot] [U-Boot,09/17] " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 10/17] apalis_imx6: Fix unused variable warning Tom Rini
2017-05-09 18:21   ` Max Krummenacher
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 11/17] colibri_imx7: " Tom Rini
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 12/17] video: ld9040: Fix unused variable warnings Tom Rini
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 13/17] net: eepro100: Fix unused variable warning Tom Rini
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 14/17] net: phy: mv88e61xx: Fix uninitialized " Tom Rini
2017-05-09 10:44   ` Chris Packham
2017-05-12 17:22   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 15/17] net: uli526x: Fix unknown storage size error Tom Rini
2017-05-12 17:23   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 16/17] common: Only build cli_readline.o for CMDLINE on non-SPL Tom Rini
2017-05-12 17:23   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-09  2:14 ` [U-Boot] [PATCH 17/17] m5253demo: Fix static variable in non-static inline function warning Tom Rini
2017-05-12 17:23   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-12 17:21 ` [U-Boot] [U-Boot, 01/17] socrates: Fix a misleading indentation warning Tom Rini

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=20170509023606.GA28300@linux-7smt.suse \
    --to=van.freenix@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox