[U-Boot] [PATCH v3 2/2] mx23_olinuxino: Add support for status LED

Marek Vasut marex at denx.de
Mon Jan 28 16:18:09 CET 2013


Dear Otavio Salvador,

> On Mon, Jan 28, 2013 at 1:10 PM, Marek Vasut <marex at denx.de> wrote:
> > Dear Otavio Salvador,
> > 
> > [..]
> > 
> >>  /*
> >> 
> >> + * Status LED
> >> + */
> >> +#define      CONFIG_STATUS_LED
> >> +#define      CONFIG_GPIO_LED
> >> +#define      CONFIG_BOARD_SPECIFIC_LED
> >> +#define      STATUS_LED_BOOT 0
> >> +#define      STATUS_LED_BIT  0x030a /* MX23_PAD_SSP1_DETECT__GPIO_2_1
> >> */
> > 
> > Just use MX23_PAD_SSP1_DETECT__GPIO_2_1 directly ?
> 
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/otavio/hacking/u-boot/drivers/mtd/spi'
> status_led.c:46:7: error: 'MX23_PAD_SSP1_DETECT__GPIO_2_1' undeclared
> here (not in a function)

#include iomux-mx23 missing ?

> make[1]: Entering directory `/home/otavio/hacking/u-boot/drivers/mtd/ubi'
> 
> ...
> 
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Best regards,
Marek Vasut


More information about the U-Boot mailing list