summaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-12-04 23:39:58 +0000
committerwdenk <wdenk>2002-12-04 23:39:58 +0000
commit1f53a41603b9093c59741f4208fef0ab3790d6ce (patch)
treef4ba6cfcc73c5b6ce2d71c233fd0debea4e47424 /common/cmd_ide.c
parenta6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9 (diff)
downloadu-boot-imx-1f53a41603b9093c59741f4208fef0ab3790d6ce.zip
u-boot-imx-1f53a41603b9093c59741f4208fef0ab3790d6ce.tar.gz
u-boot-imx-1f53a41603b9093c59741f4208fef0ab3790d6ce.tar.bz2
Add LED indication for IDE activity on KUP4K board
Diffstat (limited to 'common/cmd_ide.c')
-rw-r--r--common/cmd_ide.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index 7b45508..d082d5e 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -132,8 +132,12 @@ static block_dev_desc_t ide_dev_desc[CFG_IDE_MAXDEVICE];
/* ------------------------------------------------------------------------- */
#ifdef CONFIG_IDE_LED
+#ifndef CONFIG_KUP4K
static void ide_led (uchar led, uchar status);
#else
+extern void ide_led (uchar led, uchar status);
+#endif
+#else
#ifndef CONFIG_AMIGAONEG3SE
#define ide_led(a,b) /* dummy */
#else
@@ -1347,7 +1351,7 @@ static void ide_reset (void)
/* ------------------------------------------------------------------------- */
-#if defined(CONFIG_IDE_LED) && !defined(CONFIG_AMIGAONEG3SE)
+#if defined(CONFIG_IDE_LED) && !defined(CONFIG_AMIGAONEG3SE) && !defined(CONFIG_KUP4K)
static uchar led_buffer = 0; /* Buffer for current LED status */