All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wenyou Yang <wenyou.yang@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 1/7] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO
Date: Thu, 23 Mar 2017 14:11:00 +0800	[thread overview]
Message-ID: <20170323061106.16160-2-wenyou.yang@atmel.com> (raw)
In-Reply-To: <20170323061106.16160-1-wenyou.yang@atmel.com>

Add #ifndef CONFIG_DM_GPIO for CONFIG_AT91_GPIO define to avoid
the redefine compilation error.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 include/configs/at91-sama5_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index 42410a8526..de37e24542 100644
--- a/include/configs/at91-sama5_common.h
+++ b/include/configs/at91-sama5_common.h
@@ -27,7 +27,9 @@
 #define CONFIG_ENV_VARS_UBOOT_CONFIG
 
 /* general purpose I/O */
+#ifndef CONFIG_DM_GPIO
 #define CONFIG_AT91_GPIO
+#endif
 
 
 /*
-- 
2.11.0

  reply	other threads:[~2017-03-23  6:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23  6:10 [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT Wenyou Yang
2017-03-23  6:11 ` Wenyou Yang [this message]
2017-03-23  6:11 ` [U-Boot] [PATCH v4 2/7] board: sama5d4_xplained: update " Wenyou Yang
2017-03-23  6:11 ` [U-Boot] [PATCH v4 3/7] board: sama5d4_xplained: clean up code Wenyou Yang
2017-03-23  6:11 ` [U-Boot] [PATCH v4 4/7] board: sama5d4_xplained: enable early debug UART Wenyou Yang
2017-03-23  6:11 ` [U-Boot] [PATCH v4 5/7] board: sama5d4ek: update to support DM/DT Wenyou Yang
2017-03-23  6:11 ` [U-Boot] [PATCH v4 6/7] board: sama5d4ek: clean up code Wenyou Yang
2017-03-23  6:11 ` [U-Boot] [PATCH v4 7/7] board: sama5d4ek: enable early debug UART Wenyou Yang
2017-04-07  7:28 ` [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT Yang, Wenyou
2017-04-09 19:28   ` Simon Glass
2017-04-10  6:57     ` Yang, Wenyou
2017-04-11 13:56       ` Simon Glass
2017-04-12  5:00         ` Yang, Wenyou
2017-04-13  0:36           ` Simon Glass
2017-04-13  2:09             ` Yang, Wenyou

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=20170323061106.16160-2-wenyou.yang@atmel.com \
    --to=wenyou.yang@atmel.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.