On Mon, Jan 28, 2013 at 4:59 PM, Fabio Estevam <feste...@gmail.com> wrote: > On Mon, Jan 28, 2013 at 1:51 PM, Otavio Salvador > <ota...@ossystems.com.br> wrote: > >> /* >> + * Status LED >> + */ >> +#define CONFIG_STATUS_LED >> +#define CONFIG_GPIO_LED >> +#define CONFIG_BOARD_SPECIFIC_LED >> +#define STATUS_LED_BOOT 0 >> +#define STATUS_LED_BIT MX23_PAD_SSP1_DETECT__GPIO_2_1 > > Is this really correct? > > #define MX23_PAD_SSP1_DETECT__GPIO_2_1 MXS_IOMUX_PAD_NAKED(2, 1, > PAD_MUXSEL_GPIO) > > Does the LED API need this symbol? > > I thought that you would only need to setup this pin as GPIO and then > define something like: > +#define STATUS_LED_BIT 1
Maybe it can be done in a better way ... but I failed to figure the GPIO number to use. Any hint? -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot