[U-Boot] [PATCH v4 3/3] mx23_olinuxino: Add support for status LED
Fabio Estevam
festevam at gmail.com
Mon Jan 28 19:59:32 CET 2013
On Mon, Jan 28, 2013 at 1:51 PM, Otavio Salvador
<otavio at 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
More information about the U-Boot
mailing list