summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2009-04-30 09:49:37 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2009-04-30 09:49:37 -0400
commit029713d46491114fa9461d3baf3d5a58836bd571 (patch)
tree6e83ca6eb495a931b0e91c5d855d883aa6fd462a /include/configs
parent27cda3cddefd77d31380daa02742ec56c37d97f6 (diff)
Add LED support for OMAP3430LV SOM
This patch originally from LogicPD OMAP35x Release 1.5.0 Original Patch Name: u-boot-1.1.4-omap3430-lv-som-11-led.patch
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/omap3530lv_som.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/omap3530lv_som.h b/include/configs/omap3530lv_som.h
index d9b13323d9..7d5faef345 100644
--- a/include/configs/omap3530lv_som.h
+++ b/include/configs/omap3530lv_som.h
@@ -315,6 +315,19 @@
#define CONFIG_AUTO_COMPLETE
#endif
+// #define CONFIG_STATUS_LED 1 // Status LED enabled
+// #define CONFIG_BOARD_SPECIFIC_LED /* version has board specific leds */
+
+#ifdef CONFIG_STATUS_LED
+#define STATUS_LED_PAR 1 // makes status_led.h happy
+
+#define STATUS_LED_BIT 0x00000001 // bit 31 (led is logical 1/0)
+
+#define STATUS_LED_PERIOD (CFG_HZ / 4)
+#define STATUS_LED_STATE STATUS_LED_BLINKING
+#define STATUS_LED_ACTIVE 1 /* LED on for bit == 0 */
+#define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+#endif
/*-----------------------------------------------------------------------
* CFI FLASH driver setup