[U-Boot-Users] [PATCH] MPC8641HPCN: Report board id, board version and fpga version.

Signed-off-by: Kumar Gala galak@kernel.crashing.org --- board/freescale/mpc8641hpcn/mpc8641hpcn.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index cf540fc..b30c6b1 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c @@ -47,8 +47,10 @@ int board_early_init_f(void)
int checkboard(void) { - puts("Board: MPC8641HPCN\n"); - + printf ("Board: MPC8641HPCN, 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)); return 0; }

Kumar Gala wrote:
Signed-off-by: Kumar Gala galak@kernel.crashing.org
board/freescale/mpc8641hpcn/mpc8641hpcn.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
Applied to -mpc86xx repo.
Thanks, jdl

Dear Jon,
in message 485A62E1.1040401@freescale.com you wrote:
Kumar Gala wrote:
Signed-off-by: Kumar Gala galak@kernel.crashing.org
board/freescale/mpc8641hpcn/mpc8641hpcn.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
Applied to -mpc86xx repo.
I guess I'll see a pull request soon?
Best regards,
Wolfgang Denk
participants (3)
-
Jon Loeliger
-
Kumar Gala
-
Wolfgang Denk