forked from Imagelibrary/rtems
ep1a/startup/bspstart.c: Remove myCpu variables and clean up
This commit is contained in:
@@ -243,7 +243,6 @@ void bsp_start( void )
|
|||||||
uintptr_t intrStackStart;
|
uintptr_t intrStackStart;
|
||||||
uintptr_t intrStackSize;
|
uintptr_t intrStackSize;
|
||||||
ppc_cpu_id_t myCpu;
|
ppc_cpu_id_t myCpu;
|
||||||
ppc_cpu_revision_t myCpuRevision;
|
|
||||||
Triv121PgTbl pt=0; /* R = e; */
|
Triv121PgTbl pt=0; /* R = e; */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -252,9 +251,8 @@ void bsp_start( void )
|
|||||||
* latter...
|
* latter...
|
||||||
*/
|
*/
|
||||||
BSP_Increment_Light();
|
BSP_Increment_Light();
|
||||||
myCpu = get_ppc_cpu_type();
|
myCpu = get_ppc_cpu_type();
|
||||||
myCpuRevision = get_ppc_cpu_revision();
|
get_ppc_cpu_revision();
|
||||||
(void) myCpuRevision; /* avoid set but not used warning */
|
|
||||||
|
|
||||||
EUMBBAR = get_eumbbar();
|
EUMBBAR = get_eumbbar();
|
||||||
printk("EUMBBAR 0x%08x\n", EUMBBAR );
|
printk("EUMBBAR 0x%08x\n", EUMBBAR );
|
||||||
|
|||||||
Reference in New Issue
Block a user