sdsdp[2]=0x40082350;
sdsdp[3]=0x0d050000;
} else if (!strcmp(argv[1], "667")) {
- /* PLB=133MHz, PLB/PCI=4 */
+ /* PLB=133MHz, PLB/PCI=3 */
printf("Bootstrapping for 667MHz\n");
sdsdp[0]=0x8778a256;
- sdsdp[1]=0x0947a030;
- sdsdp[2]=0x40082350;
- sdsdp[3]=0x0d050000;
- } else if (!strcmp(argv[1], "test")) {
- /*
- * TODO: this will replace the 667 MHz config above.
- * But it needs some more testing on a real 667 MHz CPU.
- */
- printf("Bootstrapping for test"
- " (667MHz PLB=133PLB PLB/PCI=3)\n");
- sdsdp[0]=0x8778a256;
sdsdp[1]=0x095fa030;
sdsdp[2]=0x40082350;
sdsdp[3]=0x0d050000;
/* map PCI address at 0xc0000000 in PLB space */
- /* PMM1 Mask/Attribute - disabled b4 setting */
+ /* PMM1 Mask/Attribute - disabled b4 setting */
out32r(PCIX0_PMM1MA, 0x00000000);
- /* PMM1 Local Address */
+ /* PMM1 Local Address */
out32r(PCIX0_PMM1LA, 0xc0000000);
- /* PMM1 PCI Low Address */
+ /* PMM1 PCI Low Address */
out32r(PCIX0_PMM1PCILA, pciaddr);
- /* PMM1 PCI High Address */
+ /* PMM1 PCI High Address */
out32r(PCIX0_PMM1PCIHA, 0x00000000);
- /* 256MB + No prefetching, and enable region */
+ /* 256MB + No prefetching, and enable region */
out32r(PCIX0_PMM1MA, 0xf0000001);
} else {
printf("Usage:\npmm %s\n", cmdtp->help);