diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2013-11-06 16:39:47 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-11 12:17:06 -0500 |
commit | ebc18afd0a150b0285c643a4d3c898e19323683b (patch) | |
tree | e18528cc1687a71d9593a2ba09264839ca57e9ca /include | |
parent | e19a482fdd1e5bc40a6d5279ec428269ee67aa00 (diff) | |
download | u-boot-imx-ebc18afd0a150b0285c643a4d3c898e19323683b.zip u-boot-imx-ebc18afd0a150b0285c643a4d3c898e19323683b.tar.gz u-boot-imx-ebc18afd0a150b0285c643a4d3c898e19323683b.tar.bz2 |
cm-t35: use gpio_led driver for status led
Switch to using the generic gpio_led driver instead of the private to
cm_t35 board led implementation.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/cm_t35.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 516ef7f..a490fc3 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -302,12 +302,13 @@ /* Status LED */ #define CONFIG_STATUS_LED /* Status LED enabled */ #define CONFIG_BOARD_SPECIFIC_LED -#define STATUS_LED_GREEN 0 -#define STATUS_LED_BIT STATUS_LED_GREEN +#define CONFIG_GPIO_LED +#define GREEN_LED_GPIO 186 /* CM-T35 Green LED is GPIO186 */ +#define GREEN_LED_DEV 0 +#define STATUS_LED_BIT GREEN_LED_GPIO #define STATUS_LED_STATE STATUS_LED_ON #define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 2) -#define STATUS_LED_BOOT STATUS_LED_BIT -#define GREEN_LED_GPIO 186 /* CM-T35 Green LED is GPIO186 */ +#define STATUS_LED_BOOT GREEN_LED_DEV #define CONFIG_SPLASHIMAGE_GUARD |