[U-Boot] [PATCH] ppc4xx: Consolidate get_OPB_freq()

Stefan Roese sr at denx.de
Thu Sep 17 14:08:14 CEST 2009


On Monday 14 September 2009 11:39:53 Stefan Roese wrote:
> All 4xx variants had their own, mostly identical get_OPB_freq()
> function. Some variants even only had the OPB frequency calculated
> in this routine and not supplied the sys_info.freqOPB variable
> correctly (e.g. 405EZ). This resulted in incorrect OPB values passed
> via the FDT to Linux.
> 
> This patch now removes all those copies and only uses one function
> for all 4xx variants (except for IOP480 which doesn't have an OPB).
> 
> Signed-off-by: Stefan Roese <sr at denx.de>

Applied to ppc4xx/master. Thanks.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list