From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Mon, 06 Jun 2011 08:13:19 +0200 Subject: [U-Boot] [PATCH] at91sam9260ek: pull up on gpio In-Reply-To: <4DB7B9CE.1030002@aksignal.cz> References: <4DB7B9CE.1030002@aksignal.cz> Message-ID: <4DEC6FFF.8040803@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Prchal Ji??, > This fixes floating pin PB14 (DRXD) if it is unconnected, witch cause sometimes to stop autoboot by receiving char > (noise). It turns internal pull up on this pin. > It turns pull up on all other pins where should be pull up and is set in driver too. > > Signed-off-by: Jiri Prchal > > --- u-boot-2010.09/include/configs/at91sam9260ek.h.orig 2010-09-28 23:20:55.000000000 +0200 > +++ u-boot-2010.09/include/configs/at91sam9260ek.h 2011-04-27 08:05:16.231133740 +0200 > @@ -55,6 +55,7 @@ > * Hardware drivers > */ > #define CONFIG_AT91_GPIO 1 > +#define CONFIG_AT91_GPIO_PULLUP 1 > #define CONFIG_ATMEL_USART 1 > #undef CONFIG_USART0 > #undef CONFIG_USART1 This is based on old code. Anyway, the Pull-Ups are enabled in the current (not yet in mainline) at91sam9260ek port. Best Regards, Reinhard