mpc8641hpcn: Indicate 36-bit addr map in boot messages
authorBecky Bruce <beckyb@kernel.crashing.org>
Thu, 12 Feb 2009 16:43:32 +0000 (10:43 -0600)
committerWolfgang Denk <wd@denx.de>
Mon, 23 Feb 2009 21:48:17 +0000 (22:48 +0100)
If 36-bit addressing is enabled, print a message on the console
when we boot.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
board/freescale/mpc8641hpcn/mpc8641hpcn.c

index 49718dac6cad05e9c491a5126ab0fa4e18305c3a..c94fc3f1d9cf089535cbf20fcb2de44b98687b03 100644 (file)
@@ -46,6 +46,9 @@ int checkboard(void)
                "System Version: 0x%02x, FPGA Version: 0x%02x\n",
                in8(PIXIS_BASE + PIXIS_ID), in8(PIXIS_BASE + PIXIS_VER),
                in8(PIXIS_BASE + PIXIS_PVER));
+#ifdef CONFIG_PHYS_64BIT
+       printf ("       36-bit physical address map\n");
+#endif
        return 0;
 }