* [U-Boot-Users] [PATCH] MPC8610HPCD: Report board id, board version and fpga version.
@ 2008-06-19 6:45 Kumar Gala
2008-06-19 13:45 ` Jon Loeliger
0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2008-06-19 6:45 UTC (permalink / raw)
To: u-boot
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
board/freescale/mpc8610hpcd/mpc8610hpcd.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
index c85f373..0bf21d5 100644
--- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c
+++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c
@@ -99,7 +99,10 @@ int checkboard(void)
volatile immap_t *immap = (immap_t *)CFG_IMMR;
volatile ccsr_local_mcm_t *mcm = &immap->im_local_mcm;
- puts("Board: MPC8610HPCD\n");
+ printf ("Board: MPC8610HPCD, System ID: 0x%02lx, "
+ "System Version: 0x%02lx, FPGA Version: 0x%02lx\n",
+ in8(PIXIS_BASE + PIXIS_ID), in8(PIXIS_BASE + PIXIS_VER),
+ in8(PIXIS_BASE + PIXIS_PVER));
mcm->abcr |= 0x00010000; /* 0 */
mcm->hpmr3 = 0x80000008; /* 4c */
--
1.5.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] MPC8610HPCD: Report board id, board version and fpga version.
2008-06-19 6:45 [U-Boot-Users] [PATCH] MPC8610HPCD: Report board id, board version and fpga version Kumar Gala
@ 2008-06-19 13:45 ` Jon Loeliger
0 siblings, 0 replies; 2+ messages in thread
From: Jon Loeliger @ 2008-06-19 13:45 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> board/freescale/mpc8610hpcd/mpc8610hpcd.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
Applied to -mpc86xx repo.
Thanks,
jdl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-19 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19 6:45 [U-Boot-Users] [PATCH] MPC8610HPCD: Report board id, board version and fpga version Kumar Gala
2008-06-19 13:45 ` Jon Loeliger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox