]> Git Repo - J-u-boot.git/blobdiff - include/status_led.h
* Patches by Robert Schwebel, 26 Jun 2003:
[J-u-boot.git] / include / status_led.h
index 5a33e31e933616ef7b021e96d1dfa6a383f936be..e8ba9fd42d4298dfce9e53a6aae7a8ec7dffaa51 100644 (file)
@@ -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)
This page took 0.021371 seconds and 4 git commands to generate.