diff --git a/board/davinci/sysmobts_v2/sysmobts_v2.c b/board/davinci/sysmobts_v2/sysmobts_v2.c index e8c2b79d77..cd238981de 100644 --- a/board/davinci/sysmobts_v2/sysmobts_v2.c +++ b/board/davinci/sysmobts_v2/sysmobts_v2.c @@ -119,6 +119,9 @@ int board_init(void) lpsc_on(DAVINCI_LPSC_TIMER1); timer_init(); + /* configure LEDs */ + status_led_set(0, 0); + return(0); } diff --git a/include/configs/davinci_sysmobts_v2.h b/include/configs/davinci_sysmobts_v2.h index df647bcb7e..c8efdefef3 100644 --- a/include/configs/davinci_sysmobts_v2.h +++ b/include/configs/davinci_sysmobts_v2.h @@ -1,4 +1,5 @@ /* + * Copyright (C) 2012 Holger Hans Peter Freyther * Copyright (C) 2009 Lyrtech RD Inc. * * Based on dvevm/dvevm.c, original copyright follows: @@ -192,6 +193,20 @@ #define CONFIG_CMD_MTDPARTS #define CONFIG_LZO +/*=======================*/ +/* LED handling */ +/*=======================*/ +#define CONFIG_STATUS_LED +#define CONFIG_GPIO_LED +#define CONFIG_BOARD_SPECIFIC_LED +#define STATUS_LED_BIT 29 +#define STATUS_LED_STATE STATUS_LED_OFF +#define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 4) /* not really wanted */ +#define CONFIG_CMD_LED +#define CONFIG_DM644X_GPIO +#define CONFIG_CMD_GPIO + + #endif /* __CONFIG_H */