diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-13 15:52:00 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:46 -0500 |
commit | 0549cd75e023d47f9e1b00951c0508e86680236d (patch) | |
tree | cb1ee9a8118e658a841019cb5af1419c67cb5761 /c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c | |
parent | ep1a/startup/bspstart.c: Remove myCpu variables and clean up (diff) | |
download | rtems-0549cd75e023d47f9e1b00951c0508e86680236d.tar.bz2 |
mbx8xx/startup/bspstart.c: Remove myCpu variables and clean up
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c index b67f0b9d82..9b63afbe98 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c @@ -82,15 +82,13 @@ void _BSP_Fatal_error(unsigned int v) */ void bsp_start(void) { - ppc_cpu_id_t myCpu; - ppc_cpu_revision_t myCpuRevision; - /* - * Get CPU identification dynamically. Note that the get_ppc_cpu_type() function - * store the result in global variables so that it can be used latter... + * Get CPU identification dynamically. Note that the get_ppc_cpu_type() + * 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(); mmu_init(); |