[PATCH v2] at91sam9260_devices: add flag to change ETX{2,3} pincfg on add_device_eth

Michael Grzeschik mgr at pengutronix.de
Fri Dec 9 06:36:08 EST 2011


Hi,

On Fri, Dec 09, 2011 at 12:28:42PM +0100, Michael Grzeschik wrote:
> diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h
> index 546fe90..5e23688 100644
> --- a/arch/arm/mach-at91/include/mach/board.h
> +++ b/arch/arm/mach-at91/include/mach/board.h
> @@ -51,6 +51,7 @@ void at91_add_device_nand(struct atmel_nand_data *data);
>  #define AT91SAM_ETHER_MII		(0 << 0)
>  #define AT91SAM_ETHER_RMII		(1 << 0)
>  #define AT91SAM_ETHER_FORCE_LINK	(1 << 1)
> +#define AT91SAM_ETX2_ETX3_ALTERNATIVE	(2 << 0)
>  
>  struct at91_ether_platform_data {
>  	unsigned int flags;
> -- 
> 1.7.7.3

This Hunk was wrong and has already been fixed with commit e72399a

-#define AT91SAM_ETX2_ETX3_ALTERNATIVE  (2 << 0)
+#define AT91SAM_ETX2_ETX3_ALTERNATIVE  (1 << 2)

Regards,
Michael Grzeschik

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list