diff options
author | wdenk <wdenk> | 2004-01-24 20:25:54 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2004-01-24 20:25:54 (GMT) |
commit | c178d3da6f1ac765cd880530a0672540b415a01c (patch) | |
tree | 67e3b8e9a791d2ec97798239b5abba15e0cb5aaf /lib_ppc | |
parent | ef978730dcb3e7e398fe9b57633f3f67260c1bbc (diff) | |
download | u-boot-c178d3da6f1ac765cd880530a0672540b415a01c.tar.xz |
* Add variable CPU clock for MPC859/866 systems (so far only TQM866M):
see doc/README.MPC866 for details;
implement workaround for "SIU4" and "SIU9" silicon bugs on MPC866;
calculate CPU clock frequency from PLL register values.
* Add support for 128 MB RAM on TQM8xxL/M modules
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/board.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index c495d49..5b0dd4d 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -260,8 +260,11 @@ init_fnc_t *init_sequence[] = { #if defined(CONFIG_BOARD_EARLY_INIT_F) board_early_init_f, #endif + +#if !defined(CONFIG_TQM866M) get_clocks, /* get CPU and bus clocks (etc.) */ init_timebase, +#endif #ifdef CFG_ALLOC_DPRAM #if !(defined(CONFIG_8260) || defined(CONFIG_MPC8560)) dpram_init, @@ -271,6 +274,11 @@ init_fnc_t *init_sequence[] = { board_postclk_init, #endif env_init, +#if defined(CONFIG_TQM866M) + get_clocks_866, /* get CPU and bus clocks according to the environment variable */ + sdram_adjust_866, /* adjust sdram refresh rate according to the new clock */ + init_timebase, +#endif init_baudrate, serial_init, console_init_f, @@ -741,7 +749,7 @@ void board_init_r (gd_t *id, ulong dest_addr) #endif #if defined(CFG_GT_6426x) || defined(CONFIG_PN62) || defined(CONFIG_PPCHAMELEONEVB) || \ - defined(CONFIG_MPC8540ADS) || defined(CONFIG_MPC8560ADS) + defined(CONFIG_MPC8540ADS) || defined(CONFIG_MPC8560ADS) /* handle the 2nd ethernet address */ s = getenv ("eth1addr"); |