]> git.sur5r.net Git - u-boot/blobdiff - include/status_led.h
sunxi: HYP/non-sec: configure CNTFRQ on all CPUs
[u-boot] / include / status_led.h
index 61eb66a8975db01dbc60d907c3a6cbe25d3ffd41..b8aaaf78fce0f7ac0dba14aa8cb95a453e7405d5 100644 (file)
@@ -231,9 +231,6 @@ void status_led_set  (int led, int state);
 
 # define STATUS_LED_BOOT        0               /* LED 0 used for boot status */
 
-/*****  NetPhone   ********************************************************/
-#elif defined(CONFIG_NETPHONE) || defined(CONFIG_NETTA2)
-/* XXX empty just to avoid the error */
 /*****  STx XTc    ********************************************************/
 #elif defined(CONFIG_STXXTC)
 /* XXX empty just to avoid the error */
@@ -275,19 +272,21 @@ extern void __led_set (led_id_t mask, int state);
 # include <asm/status_led.h>
 #endif
 
+#endif /* CONFIG_STATUS_LED    */
+
 /*
  * Coloured LEDs API
  */
 #ifndef        __ASSEMBLY__
-extern void    coloured_LED_init (void);
-extern void    red_led_on(void);
-extern void    red_led_off(void);
-extern void    green_led_on(void);
-extern void    green_led_off(void);
-extern void    yellow_led_on(void);
-extern void    yellow_led_off(void);
-extern void    blue_led_on(void);
-extern void    blue_led_off(void);
+void coloured_LED_init(void);
+void red_led_on(void);
+void red_led_off(void);
+void green_led_on(void);
+void green_led_off(void);
+void yellow_led_on(void);
+void yellow_led_off(void);
+void blue_led_on(void);
+void blue_led_off(void);
 #else
        .extern LED_init
        .extern red_led_on
@@ -300,6 +299,4 @@ extern void blue_led_off(void);
        .extern blue_led_off
 #endif
 
-#endif /* CONFIG_STATUS_LED    */
-
 #endif /* _STATUS_LED_H_       */