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

Marek Vasut marex at denx.de
Mon Jan 28 16:10:40 CET 2013


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 ?

> +#define	STATUS_LED_STATE	STATUS_LED_ON
> +#define	STATUS_LED_PERIOD	(CONFIG_SYS_HZ / 2)
> +
> +/*
>   * MMC Driver
>   */
>  #ifdef	CONFIG_CMD_MMC

Best regards,
Marek Vasut


More information about the U-Boot mailing list