From 66ca92a5ba882807ba8ed8f772c0fc22b25976cc Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 28 Sep 2004 17:59:53 +0000 Subject: * Patch by Yuli Barcohen, 13 Jul 2004: Allow clock setting on MPC866/MPC885 series chips according to environment variable `cpuclk' * Patch by Yuli Barcohen, 20 Apr 2004: Remove unnecessary redefine of CPM_DATAONLY_SIZE for MPC826x --- lib_ppc/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib_ppc') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 419c12d..a2d3023 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -264,7 +264,7 @@ init_fnc_t *init_sequence[] = { board_early_init_f, #endif -#if !defined(CONFIG_TQM866M) && !defined(CONFIG_NC650) +#if !defined(CONFIG_8xx_CPUCLK_DEFAULT) get_clocks, /* get CPU and bus clocks (etc.) */ #if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) adjust_sdram_tbs_8xx, @@ -280,7 +280,7 @@ init_fnc_t *init_sequence[] = { board_postclk_init, #endif env_init, -#if defined(CONFIG_TQM866M) || defined(CONFIG_NC650) +#if defined(CONFIG_8xx_CPUCLK_DEFAULT) 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, -- cgit v1.1