summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 15:52:00 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-16 08:58:46 -0500
commitc506cc9845a9e0291b1c4510523cd68b3ad9e993 (patch)
treeb39793a7b39338a355bac9c93fe496f93149dcc9
parent0697180b313f573138d4c5e0b40382a38f2f891a (diff)
downloadrtems-c506cc9845a9e0291b1c4510523cd68b3ad9e993.tar.bz2
shared/startup/bspstart.c: Remove myCpu variables and clean up
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index e1c05718ed..6d7696cd1b 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -141,8 +141,6 @@ void bsp_start( void )
#endif
uintptr_t intrStackStart;
uintptr_t intrStackSize;
-/* ppc_cpu_id_t myCpu; */
-/* ppc_cpu_revision_t myCpuRevision; */
prep_t boardManufacturer;
motorolaBoard myBoard;
Triv121PgTbl pt=0;
@@ -152,8 +150,8 @@ void bsp_start( void )
* function store 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();
/*
* Init MMU block address translation to enable hardware access