Commit 750461887efacb53caec0fb048d1070ee54180e2
Committed by
Tom Rini
1 parent
2b5b2be5e9
Exists in
v2017.01-smarct4x
and in
37 other branches
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
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 | { |