[U-Boot] [PATCH] mpc8641hpcn: Indicate 36-bit addr map in boot messages

Becky Bruce beckyb at kernel.crashing.org
Thu Feb 12 17:43:32 CET 2009


If 36-bit addressing is enabled, print a message on the console
when we boot.

Signed-off-by: Becky Bruce <beckyb at kernel.crashing.org>
---
 board/freescale/mpc8641hpcn/mpc8641hpcn.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
index 28c1683..bc68ca6 100644
--- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c
+++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
@@ -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;
 }
 
-- 
1.5.6.6



More information about the U-Boot mailing list