From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas =?iso-8859-1?Q?Bie=DFmann?= Date: Sat, 4 Feb 2017 23:11:13 +0100 Subject: [U-Boot] [U-Boot, v2, 1/8] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO In-Reply-To: <1477639009-10675-2-git-send-email-wenyou.yang@atmel.com> References: <1477639009-10675-2-git-send-email-wenyou.yang@atmel.com> Message-ID: <20170204221113.3objm7quhxobp6qf@mba.int.er.biessmann.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 28, 2016 at 03:16:42PM +0800, Wenyou Yang wrote: > If enabled Driver Model for GPIO, CONFIG_AT91_GPIO should be defined > by configs/*_defconfig file. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bie?mann > --- > > 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 b09ef33..98e3f0e 100644 > --- a/include/configs/at91-sama5_common.h > +++ b/include/configs/at91-sama5_common.h > @@ -29,7 +29,9 @@ > #define CONFIG_ENV_VARS_UBOOT_CONFIG > > /* general purpose I/O */ > +#ifndef CONFIG_DM_GPIO > #define CONFIG_AT91_GPIO > +#endif > > > /*