[U-Boot] [PATCH] at91sam9260ek: pull up on gpio

Reinhard Meyer u-boot at emk-elektronik.de
Mon Jun 6 08:13:19 CEST 2011


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 <jiri.prchal at aksignal.cz>
> 
> --- 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


More information about the U-Boot mailing list