]> git.sur5r.net Git - u-boot/commitdiff
board/BuR/common: remove unused function 'blink'
authorHannes Petermaier <hannes.petermaier@br-automation.com>
Thu, 19 Mar 2015 09:43:16 +0000 (10:43 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 16:07:44 +0000 (12:07 -0400)
since we have possibility to write out on lcd whats going on, we don't need
the gpio blink functionality anymore.

Signed-off-by: Hannes Petermaier <hannes.petermaier@br-automation.com>
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
board/BuR/common/bur_common.h
board/BuR/common/common.c

index 3061e4ca00fc9183a8b07e43d5e2de0762b7b098..e4896fba14087766ba874e81154f902357fdd81f 100644 (file)
@@ -16,7 +16,6 @@
 
 int load_lcdtiming(struct am335x_lcdpanel *panel);
 void br_summaryscreen(void);
-void blink(u32 blinks, u32 intervall, u32 pin);
 void pmicsetup(u32 mpupll);
 void enable_uart0_pin_mux(void);
 void enable_i2c_pin_mux(void);
index 91834eb7564216ddec1837f95d7891bfe5221373..ccaa9c6845053dcc2e72a91e4b45f76c879c105c 100644 (file)
@@ -441,20 +441,6 @@ void lcd_enable(void)
 #error "LCD-support with a suitable FB-Driver is mandatory !"
 #endif /* CONFIG_LCD */
 
-void blink(u32 blinks, u32 intervall, u32 pin)
-{
-       gpio_direction_output(pin, 0);
-       int val = 0;
-
-       do {
-               val ^= 0x01;
-               gpio_set_value(pin, val);
-               mdelay(intervall);
-       } while (blinks--);
-
-       gpio_set_value(pin, 0);
-}
-
 #ifdef CONFIG_SPL_BUILD
 void pmicsetup(u32 mpupll)
 {