Skip to contentSkip to conversation

MPC8641HPCN: Report board id, board version and fpga version.

PATCH New Kumar Gala 3 participants 4 messages Jun 19, 2008 – Jul 7, 2008

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 MPC8641HPCN: Report board id, board version and fpga version.

---
 board/freescale/mpc8641hpcn/mpc8641hpcn.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
board/freescale/mpc8641hpcn/mpc8641hpcn.c +4 -2
index cf540fc..b30c6b1 100644
@@ -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;
 }
 
Signature · 1 line
1.5.5.1
Applied
#1 lore raw

PATCH 1/1 MPC8641HPCN: Report board id, board version and fpga version.

Quoted 5 lines · Kumar Gala
---
 board/freescale/mpc8641hpcn/mpc8641hpcn.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

Applied to -mpc86xx repo.

Thanks,
jdl

#2 lore raw

PATCH 1/1 MPC8641HPCN: Report board id, board version and fpga version.

Dear Jon,

Quoted 8 lines · in message <[email protected]> you wrote:
Quoted 5 lines · Kumar Gala
---
 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

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If there was anything that depressed him more than his own  cynicism,
it was that quite often it still wasn't as cynical as real life.
                                 - Terry Pratchett, _Guards! Guards!_
#3 lore raw

PATCH 1/1 MPC8641HPCN: Report board id, board version and fpga version.

Quoted 6 lines · Wolfgang Denk

Dear Jon,

Quoted 2 lines

Applied to -mpc86xx repo.

I guess I'll see a pull request soon?

Yes!

Thanks,
jdl