|
@@ -45,6 +45,8 @@ int checkboard (void)
|
|
|
{
|
|
|
u8 sw;
|
|
|
struct cpu_type *cpu = gd->cpu;
|
|
|
+ ccsr_gur_t *gur = (void *)CONFIG_SYS_MPC85xx_GUTS_ADDR;
|
|
|
+ unsigned int i;
|
|
|
|
|
|
printf("Board: %sDS, ", cpu->name);
|
|
|
printf("Sys ID: 0x%02x, Sys Ver: 0x%02x, FPGA Ver: 0x%02x, ",
|
|
@@ -66,6 +68,19 @@ int checkboard (void)
|
|
|
puts("36-bit Addressing\n");
|
|
|
#endif
|
|
|
|
|
|
+ /* Display the RCW, so that no one gets confused as to what RCW
|
|
|
+ * we're actually using for this boot.
|
|
|
+ */
|
|
|
+ puts("Reset Configuration Word (RCW):");
|
|
|
+ for (i = 0; i < ARRAY_SIZE(gur->rcwsr); i++) {
|
|
|
+ u32 rcw = in_be32(&gur->rcwsr[i]);
|
|
|
+
|
|
|
+ if ((i % 4) == 0)
|
|
|
+ printf("\n %08x:", i * 4);
|
|
|
+ printf(" %08x", rcw);
|
|
|
+ }
|
|
|
+ puts("\n");
|
|
|
+
|
|
|
/* Display the actual SERDES reference clocks as configured by the
|
|
|
* dip switches on the board. Note that the SWx registers could
|
|
|
* technically be set to force the reference clocks to match the
|