[U-Boot-Users] [PATCH v3] 85xx: Round up frequency calculations to get reasonable output
Andy Fleming
afleming at gmail.com
Mon Apr 21 19:45:47 CEST 2008
On Mon, Apr 21, 2008 at 9:28 AM, Kumar Gala <galak at kernel.crashing.org> wrote:
> eg. because of rounding error we can get 799Mhz instead of 800Mhz.
>
> Introduced DIV_ROUND_UP and roundup taken from linux kernel.
>
> Signed-off-by: Dejan Minic <minic at freescale.com>
> Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan at freescale.com>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
Acked-by: Andy Fleming <afleming at freescale.com>
Andy
More information about the U-Boot
mailing list