diff options
author | Hannes Petermaier <hannes.petermaier@br-automation.com> | 2015-03-19 09:43:16 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-28 16:07:44 (GMT) |
commit | 750461887efacb53caec0fb048d1070ee54180e2 (patch) | |
tree | 3a88f4a43785eb94bf99f6aa9b11b32b9bc16e06 | |
parent | 2b5b2be5e9444688e5d8bd0e2d263fccd1f2eee4 (diff) | |
download | u-boot-750461887efacb53caec0fb048d1070ee54180e2.tar.xz |
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>
-rw-r--r-- | board/BuR/common/bur_common.h | 1 | ||||
-rw-r--r-- | board/BuR/common/common.c | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/board/BuR/common/bur_common.h b/board/BuR/common/bur_common.h index 3061e4c..e4896fb 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 91834eb..ccaa9c6 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) { |