diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-10-16 15:26:51 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-10-17 15:01:47 -0500 |
commit | 9553df86d3a319c3a1a7cde7e4edd6eeb5aa64c7 (patch) | |
tree | 35cf60715dde3c0a6e6870a3c74e50621fec3c7c /cpu/mpc86xx/cpu.c | |
parent | 3dd2db53ceb0dff80f25c2a07f83f29b907b403e (diff) | |
download | u-boot-imx-9553df86d3a319c3a1a7cde7e4edd6eeb5aa64c7.zip u-boot-imx-9553df86d3a319c3a1a7cde7e4edd6eeb5aa64c7.tar.gz u-boot-imx-9553df86d3a319c3a1a7cde7e4edd6eeb5aa64c7.tar.bz2 |
Initial mpc8610hpcd cpu/, README and include/ files.
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Mahesh Jade <mahesh.jade@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'cpu/mpc86xx/cpu.c')
-rw-r--r-- | cpu/mpc86xx/cpu.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c index 9456471..bbc0cd6 100644 --- a/cpu/mpc86xx/cpu.c +++ b/cpu/mpc86xx/cpu.c @@ -41,6 +41,8 @@ checkcpu(void) uint major, minor; uint lcrr; /* local bus clock ratio register */ uint clkdiv; /* clock divider portion of lcrr */ + volatile immap_t *immap = (immap_t *) CFG_IMMR; + volatile ccsr_gur_t *gur = &immap->im_gur; puts("Freescale PowerPC\n"); @@ -54,8 +56,14 @@ checkcpu(void) switch (ver) { case PVR_VER(PVR_86xx): - puts("E600"); - break; + { + uint msscr0 = mfspr(MSSCR0); + printf("E600 Core %d", (msscr0 & 0x20) ? 1 : 0 ); + if (gur->pordevsr & MPC86xx_PORDEVSR_CORE1TE) + puts("\n Core1Translation Enabled"); + debug(" (MSSCR0=%x, PORDEVSR=%x)", msscr0, gur->pordevsr); + } + break; default: puts("Unknown"); break; @@ -76,6 +84,9 @@ checkcpu(void) puts("8641"); } break; + case SVR_8610: + puts("8610"); + break; default: puts("Unknown"); break; |