diff options
author | Timur Tabi <timur@freescale.com> | 2012-03-15 11:42:27 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-04-24 23:58:34 -0500 |
commit | 5d065c3e103133f811fdf77f6b793950fc3d3424 (patch) | |
tree | 4e4b7bbff4e0af5165c2d0b8ab9ad1dd3695acb4 /board/freescale/p2020ds/p2020ds.c | |
parent | 34e210f5bd9c000cec39b45483be6df52e2b6e07 (diff) |
powerpc/85xx: don't display address map size (32-bit vs. 36-bit) during boot
Most 85xx boards can be built as a 32-bit or a 36-bit. Current code sometimes
displays which of these is actually built, but it's inconsistent. This is
especially problematic since the "default" build for a given 85xx board can
be either one, so if you don't see a message, you can't always know which
size is being used. Not only that, but each board includes code that displays
the message, so there is duplication.
The 'bdinfo' command has been updated to display this information, so
we don't need to display it at boot time. The board-specific code is
deleted.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/p2020ds/p2020ds.c')
-rw-r--r-- | board/freescale/p2020ds/p2020ds.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/board/freescale/p2020ds/p2020ds.c b/board/freescale/p2020ds/p2020ds.c index d3af6cf185..e8d31a4acf 100644 --- a/board/freescale/p2020ds/p2020ds.c +++ b/board/freescale/p2020ds/p2020ds.c @@ -61,12 +61,8 @@ int checkboard(void) { u8 sw; - puts("Board: P2020DS "); -#ifdef CONFIG_PHYS_64BIT - puts("(36-bit addrmap) "); -#endif - - printf("Sys ID: 0x%02x, Sys Ver: 0x%02x, FPGA Ver: 0x%02x, ", + printf("Board: P2020DS Sys ID: 0x%02x, " + "Sys Ver: 0x%02x, FPGA Ver: 0x%02x, ", in_8(&pixis->id), in_8(&pixis->arch), in_8(&pixis->scver)); sw = in_8(&PIXIS_SW(PIXIS_LBMAP_SWITCH)); |