summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-03-31 13:16:23 +0200
committerStefan Roese <sr@denx.de>2007-03-31 13:16:23 +0200
commitda6ebc1bc082cbe3b6bbde079cafe09f7ebbad4b (patch)
tree814f3f871e7c370eb089b690f0f9aa66664d943c /board
parentcabee756a6532986729477c3cc1ea16ef8517ad2 (diff)
downloadu-boot-imx-da6ebc1bc082cbe3b6bbde079cafe09f7ebbad4b.zip
u-boot-imx-da6ebc1bc082cbe3b6bbde079cafe09f7ebbad4b.tar.gz
u-boot-imx-da6ebc1bc082cbe3b6bbde079cafe09f7ebbad4b.tar.bz2
ppc4xx: Update Katmai bootstrap command
Now the DDR2 frequency is also 2*PLB frequency when 166MHz PLB is selected. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/amcc/katmai/cmd_katmai.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/amcc/katmai/cmd_katmai.c b/board/amcc/katmai/cmd_katmai.c
index 0c42c39..439be4f 100644
--- a/board/amcc/katmai/cmd_katmai.c
+++ b/board/amcc/katmai/cmd_katmai.c
@@ -28,6 +28,7 @@
#include <asm/byteorder.h>
#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;