Skip to contentSkip to conversation

85xx: print boot header info to distinquish 36-bit addr map on MPC8572 DS

PATCH New Kumar Gala 1 participant 1 message Feb 10, 2009

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 85xx: print boot header info to distinquish 36-bit addr map on MPC8572 DS

Added some info that is printed out when we boot to distiquish if we built MPC8572DS_config vs MPC8572DS_36BIT_config since they have different address maps.

---
 board/freescale/mpc8572ds/mpc8572ds.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
board/freescale/mpc8572ds/mpc8572ds.c +6 -2
index c8b3966..fdc8fa3 100644
@@ -42,8 +42,12 @@ long int fixed_sdram(void);
 
 int checkboard (void)
 {
-	printf ("Board: MPC8572DS, System ID: 0x%02x, "
-		"System Version: 0x%02x, FPGA Version: 0x%02x\n",
+	puts ("Board: MPC8572DS ");
+#ifdef CONFIG_PHYS_64BIT
+	puts ("(36-bit addrmap) ");
+#endif
+	printf ("Sys ID: 0x%02x, "
+		"Sys Ver: 0x%02x, FPGA Ver: 0x%02x\n",
 		in8(PIXIS_BASE + PIXIS_ID), in8(PIXIS_BASE + PIXIS_VER),
 		in8(PIXIS_BASE + PIXIS_PVER));
 	return 0;
Signature · 1 line
1.5.6.6