ss555/startup/bspstart.c: Remove myCpu variables and clean up

This commit is contained in:
Joel Sherrill
2014-10-13 15:52:00 -05:00
parent c506cc9845
commit 27474fb111

View File

@@ -78,8 +78,6 @@ void _BSP_Fatal_error(unsigned int v)
*/
void bsp_start(void)
{
ppc_cpu_id_t myCpu;
ppc_cpu_revision_t myCpuRevision;
register unsigned char* intrStack;
/*
@@ -87,8 +85,8 @@ void bsp_start(void)
* function stores the result in global variables so that it can be used
* later.
*/
myCpu = get_ppc_cpu_type();
myCpuRevision = get_ppc_cpu_revision();
get_ppc_cpu_type();
get_ppc_cpu_revision();
/*
* Initialize some SPRG registers related to irq handling