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>
This commit is contained in:
parent
2b5b2be5e9
commit
750461887e
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
int load_lcdtiming(struct am335x_lcdpanel *panel);
|
int load_lcdtiming(struct am335x_lcdpanel *panel);
|
||||||
void br_summaryscreen(void);
|
void br_summaryscreen(void);
|
||||||
void blink(u32 blinks, u32 intervall, u32 pin);
|
|
||||||
void pmicsetup(u32 mpupll);
|
void pmicsetup(u32 mpupll);
|
||||||
void enable_uart0_pin_mux(void);
|
void enable_uart0_pin_mux(void);
|
||||||
void enable_i2c_pin_mux(void);
|
void enable_i2c_pin_mux(void);
|
||||||
|
|
|
@ -441,20 +441,6 @@ void lcd_enable(void)
|
||||||
#error "LCD-support with a suitable FB-Driver is mandatory !"
|
#error "LCD-support with a suitable FB-Driver is mandatory !"
|
||||||
#endif /* CONFIG_LCD */
|
#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
|
#ifdef CONFIG_SPL_BUILD
|
||||||
void pmicsetup(u32 mpupll)
|
void pmicsetup(u32 mpupll)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue