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 | 0af227c5053d60be841ed4fe61efc02951ab4307 (patch) | |
tree | 4caf10baa7fa8ec667a8495e8e59ef4e605bb8d0 /c/src/lib/libbsp/powerpc/mpc8260ads | |
parent | mbx8xx/startup/bspstart.c: Remove myCpu variables and clean up (diff) | |
download | rtems-0af227c5053d60be841ed4fe61efc02951ab4307.tar.bz2 |
mpc8260ads/startup/bspstart.c: Remove myCpu variables and clean up
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c index 559816cf79..3f0ccca645 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c @@ -147,9 +147,6 @@ void _BSP_Uart2_disable(void) void bsp_start(void) { - ppc_cpu_id_t myCpu; - ppc_cpu_revision_t myCpuRevision; - /* Set MPC8260ADS board LEDS and Uart enable lines */ _BSP_GPLED0_off(); _BSP_GPLED1_off(); @@ -157,11 +154,12 @@ void bsp_start(void) _BSP_Uart2_enable(); /* - * 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(); cpu_init(); |