From: Stefan Roese Date: Sat, 31 Mar 2007 11:16:23 +0000 (+0200) Subject: ppc4xx: Update Katmai bootstrap command X-Git-Tag: v1.3.0-rc1~119^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da6ebc1bc082cbe3b6bbde079cafe09f7ebbad4b;p=u-boot ppc4xx: Update Katmai bootstrap command Now the DDR2 frequency is also 2*PLB frequency when 166MHz PLB is selected. Signed-off-by: Stefan Roese --- diff --git a/board/amcc/katmai/cmd_katmai.c b/board/amcc/katmai/cmd_katmai.c index 0c42c394d6..439be4fa9d 100644 --- a/board/amcc/katmai/cmd_katmai.c +++ b/board/amcc/katmai/cmd_katmai.c @@ -28,6 +28,7 @@ #include #define CONFIG_STRESS /* enable 667 MHz CPU freq selection */ +#define DEBUG static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { @@ -194,7 +195,8 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) data = 0x000004E1; if (strcmp(plbClock, "166") == 0) - data |= 0x05950000; +/* data |= 0x05950000; */ /* this set's DDR2 clock == PLB clock */ + data |= 0x05A50000; /* this set's DDR2 clock == 2 * PLB clock */ else data |= 0x05A50000;