summaryrefslogtreecommitdiff
path: root/include/status_led.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-26 22:04:09 +0000
committerwdenk <wdenk>2003-06-26 22:04:09 +0000
commit993cad9364c6b87ae429d1ed1130d8153f6f027e (patch)
tree43faaa643caeaacec331db78850a5a4834bad354 /include/status_led.h
parentb783edaee8252bfdba3f7b3fd29519a81ce71e42 (diff)
* Patches by Robert Schwebel, 26 Jun 2003:U-Boot-0_4_0
- logdl - csb226 - innokom * Patch by Pantelis Antoniou, 25 Jun 2003: update NetVia with V2 board support
Diffstat (limited to 'include/status_led.h')
-rw-r--r--include/status_led.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h
index 5a33e31e933..e8ba9fd42d4 100644
--- a/include/status_led.h
+++ b/include/status_led.h
@@ -236,6 +236,8 @@ void status_led_set (int led, int state);
/***** NetVia ********************************************************/
#elif defined(CONFIG_NETVIA)
+#if !defined(CONFIG_NETVIA_VERSION) || CONFIG_NETVIA_VERSION == 1
+
#define STATUS_LED_PAR im_ioport.iop_pdpar
#define STATUS_LED_DIR im_ioport.iop_pddir
#undef STATUS_LED_ODR
@@ -252,6 +254,7 @@ void status_led_set (int led, int state);
# define STATUS_LED_ACTIVE 0 /* LED on for bit == 0 */
# define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+#endif
/***** CMI ********************************************************/
#elif defined(CONFIG_CMI)