Reworked 85xx speed detection code
authorAndy Fleming <afleming@freescale.com>
Mon, 23 Apr 2007 07:37:47 +0000 (02:37 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Tue, 24 Apr 2007 00:58:28 +0000 (19:58 -0500)
commit66ed6cca3f340f7a8a06d9272ae2ef8e96f0273d
treeb9f6a13122a761ce403126d26cf0a37f869e1f09
parent81f481ca708ed6a56bf9c410e3191dbad581c565
Reworked 85xx speed detection code

Changed the code to read the registers and calculate the clock
rates, rather than using a "switch" statement.

Idea from Andrew Klossner <andrew@cesa.opbu.xerox.com>

Signed-off-by: Andy Fleming <afleming@freescale.com>
cpu/mpc85xx/speed.c