Commit 750461887efacb53caec0fb048d1070ee54180e2

Authored by Hannes Petermaier
Committed by Tom Rini
1 parent 2b5b2be5e9

board/BuR/common: remove unused function 'blink'

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>

Showing 2 changed files with 0 additions and 15 deletions Side-by-side Diff

board/BuR/common/bur_common.h
... ... @@ -16,7 +16,6 @@
16 16  
17 17 int load_lcdtiming(struct am335x_lcdpanel *panel);
18 18 void br_summaryscreen(void);
19   -void blink(u32 blinks, u32 intervall, u32 pin);
20 19 void pmicsetup(u32 mpupll);
21 20 void enable_uart0_pin_mux(void);
22 21 void enable_i2c_pin_mux(void);
board/BuR/common/common.c
... ... @@ -441,20 +441,6 @@
441 441 #error "LCD-support with a suitable FB-Driver is mandatory !"
442 442 #endif /* CONFIG_LCD */
443 443  
444   -void blink(u32 blinks, u32 intervall, u32 pin)
445   -{
446   - gpio_direction_output(pin, 0);
447   - int val = 0;
448   -
449   - do {
450   - val ^= 0x01;
451   - gpio_set_value(pin, val);
452   - mdelay(intervall);
453   - } while (blinks--);
454   -
455   - gpio_set_value(pin, 0);
456   -}
457   -
458 444 #ifdef CONFIG_SPL_BUILD
459 445 void pmicsetup(u32 mpupll)
460 446 {