Add LED indication for IDE activity on KUP4K board
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 @@
/* ------------------------------------------------------------------------- */
#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 @@
/* ------------------------------------------------------------------------- */
-#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 */