Initial mpc8610hpcd cpu/, README and include/ files.
PATCH 2/3 Initial mpc8610hpcd cpu/, README and include/ files.
From: Ed Swarthout <[email protected]>
Signed-off-by Ed Swarthout <[email protected]>
Signed-off-by Mahesh Jade <[email protected]>
Signed-off-by Jason Jin <[email protected]>
Signed-off-by Jon Loeliger <[email protected]>
--- cpu/mpc86xx/cpu.c | 15 +- doc/README.mpc8610hpcd | 67 +++++ include/asm-ppc/processor.h | 1 + include/configs/MPC8610HPCD.h | 660 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 741 insertions(+), 2 deletions(-) create mode 100644 doc/README.mpc8610hpcd create mode 100644 include/configs/MPC8610HPCD.h
cpu/mpc86xx/cpu.c +13 -2
@@ -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 ;
doc/README.mpc8610hpcd new file +67 -0
67 lines not on this page · raw message
include/asm-ppc/processor.h +1 -0
@@ -875,6 +875,7 @@#define SVR_8544_E 0x803C#define SVR_8548 0x8031#define SVR_8548_E 0x8039 +#define SVR_8610 0x80A0#define SVR_8641 0x8090#define SVR_8568_E 0x807D
include/configs/MPC8610HPCD.h new file +660 -0
660 lines not on this page · raw message