
28 Jan
2013
28 Jan
'13
9:12 p.m.
On Mon, Jan 28, 2013 at 6:01 PM, Otavio Salvador otavio@ossystems.com.br wrote:
This adds support to the LAN9212 chip included in the board and extend
My schematics says it is a LAN9512.
+#ifdef CONFIG_USB_EHCI
/* Enable LAN9512 */
gpio_direction_output(MX23_PAD_GPMI_ALE__GPIO_0_17, 1);
+#endif
You would better use #ifdef CONFIG_CMD_USB instead, like we do on mx28evk.
This would make things easier for someone that wants to test the board without USB support, by just undefing CONFIG_CMD_USB, which in turn remove all USB related support.