[U-Boot] Kirkwood gpio (was: timeout calculation underflow if imprecise 1kHz timer: fix)
prafulla at marvell.com
Fri Aug 7 13:13:45 CEST 2009
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Alessandro Rubini
> Sent: Friday, August 07, 2009 4:00 PM
> To: wd at denx.de
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Kirkwood gpio (was: timeout calculation
> underflow if imprecise 1kHz timer: fix)
> > I'd prefer "tout = DIV_ROUND_UP(tout*CONFIG_SYS_HZ, 1000);"
> Ok for me.
> BTW: Looking for DIV_ROUND_UP, I found that it's defined in
> ./include/asm/arch-kirkwood/gpio.h as well. I was checking
> whether it can be removed, but it looks like nobody is using
> the driver.
I think at least heiko is the customer for this stuff.
Unfortunately I do not have use case for this :-(
But in near future I will have it.
can you pls check mainlined stuff?
Prafulla . .
> tornado$ grep -r CONFIG_KIRKWOOD_GPIO .
> ./drivers/gpio/Makefile:COBJS-$(CONFIG_KIRKWOOD_GPIO) +=
> The header and C file were added on Jun 29th, but there's not
> user yet.
> It has been tested by Heiko on the Suen3, but it's not mainline.
> And even that patch doesn't define CONFIG_KIRKWOOD_GPIO .
> U-Boot mailing list
> U-Boot at lists.denx.de
More information about the U-Boot