diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-04-18 17:54:33 -0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-04-27 19:38:07 +0200 |
commit | 2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6 (patch) | |
tree | 5621227709b80e080620531792ec1833c62288fe /board/cm_t35/cm_t35.c | |
parent | afff1fc07996cec1d0a2e34e13f9c06784e26ce7 (diff) | |
download | u-boot-imx-2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6.zip u-boot-imx-2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6.tar.gz u-boot-imx-2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6.tar.bz2 |
OMAP3: CM-T35: enable the green LED
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/cm_t35/cm_t35.c')
-rw-r--r-- | board/cm_t35/cm_t35.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c index bf54061..cfdc4df 100644 --- a/board/cm_t35/cm_t35.c +++ b/board/cm_t35/cm_t35.c @@ -29,6 +29,7 @@ */ #include <common.h> +#include <status_led.h> #include <netdev.h> #include <net.h> #include <i2c.h> @@ -85,6 +86,10 @@ int board_init(void) /* boot param addr */ gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100); +#if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT) + status_led_set(STATUS_LED_BOOT, STATUS_LED_ON); +#endif + return 0; } @@ -249,7 +254,7 @@ void set_muxconf_regs(void) MUX_VAL(CP(SYS_NIRQ), (IEN | PTU | EN | M0)); /*SYS_nIRQ*/ MUX_VAL(CP(SYS_OFF_MODE), (IEN | PTD | DIS | M0)); /*OFF_MODE*/ MUX_VAL(CP(SYS_CLKOUT1), (IEN | PTD | DIS | M0)); /*CLKOUT1*/ - MUX_VAL(CP(SYS_CLKOUT2), (IDIS | PTD | DIS | M4)); /*green LED*/ + MUX_VAL(CP(SYS_CLKOUT2), (IDIS | PTU | DIS | M4)); /*green LED*/ MUX_VAL(CP(JTAG_nTRST), (IEN | PTD | DIS | M0)); /*JTAG_nTRST*/ MUX_VAL(CP(JTAG_TCK), (IEN | PTD | DIS | M0)); /*JTAG_TCK*/ MUX_VAL(CP(JTAG_TMS), (IEN | PTD | DIS | M0)); /*JTAG_TMS*/ |