|
@@ -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)
|
|
{
|
|
{
|