From 750461887efacb53caec0fb048d1070ee54180e2 Mon Sep 17 00:00:00 2001 From: Hannes Petermaier Date: Thu, 19 Mar 2015 10:43:16 +0100 Subject: 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 Signed-off-by: Hannes Petermaier --- board/BuR/common/bur_common.h | 1 - board/BuR/common/common.c | 14 -------------- 2 files changed, 15 deletions(-) (limited to 'board/BuR') diff --git a/board/BuR/common/bur_common.h b/board/BuR/common/bur_common.h index 3061e4ca00..e4896fba14 100644 --- a/board/BuR/common/bur_common.h +++ b/board/BuR/common/bur_common.h @@ -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); diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index 91834eb756..ccaa9c6845 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -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) { -- cgit v1.2.3