From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 17 Sep 2009 14:08:14 +0200 Subject: [U-Boot] [PATCH] ppc4xx: Consolidate get_OPB_freq() In-Reply-To: <1252921193-18554-1-git-send-email-sr@denx.de> References: <1252921193-18554-1-git-send-email-sr@denx.de> Message-ID: <200909171408.14937.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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