--- u-boot-1.2.0/cpu/mpc824x/speed.c 2007-02-06 17:56:29.000000000 -0800 +++ u-boot-1.2.0.patch/cpu/mpc824x/speed.c 2007-02-06 17:59:18.000000000 -0800 @@ -98,12 +98,19 @@ ulong get_bus_freq (ulong dummy) /* This gives the Memory to CPU Core multiplier times 10 */ /* The index is the value of PLLRATIO in HID1 */ /* This is documented in the MPC8240 Hardware Specs */ -/* This is not documented for MPC8245 ? FIXME */ +/* MPC8245 data from hardware spec, Rev 9, 1/2007 */ short pllratio_to_factor[] = { +#if defined(CONFIG_MPC8240) 0, 0, 0, 10, 20, 20, 25, 45, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 45, 30, 0, 40, 0, 0, 0, 35, 0, +#elif defined(CONFIG_MPC8245) + 25, 30, 45, 20, 20, 0, 30, 35, + 30, 20, 45, 30, 25, 35, 30, 35, + 20, 25, 20, 30, 35, 40, 40, 20, + 30, 25, 40, 30, 30, 25, 35, 0, +#endif }; /* compute the CPU and memory bus clock frequencies */ __________ NOD32 1.1814 (20061019) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com