mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
cabee756a6
commit
da6ebc1bc0
1 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
|
||||||
#define CONFIG_STRESS /* enable 667 MHz CPU freq selection */
|
#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[])
|
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;
|
data = 0x000004E1;
|
||||||
|
|
||||||
if (strcmp(plbClock, "166") == 0)
|
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
|
else
|
||||||
data |= 0x05A50000;
|
data |= 0x05A50000;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue