[U-Boot-Users] [PATCH v3] 85xx: Round up frequency calculations to get reasonable output

Andy Fleming afleming at gmail.com
Mon Apr 21 19:17:49 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>


Shouldn't this be two patches?  One to add the macros, and then one to
use them.  Technically, I'd be overstepping my authority to apply the
first patch.  Though I'd be happy to apply it if Wolfgang ACKs it.

Andy




More information about the U-Boot mailing list