[PATCH 18/62] shared/startup/bspstart.c: Remove myCpu variables and clean up
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Oct 15 20:00:08 UTC 2014
---
c/src/lib/libbsp/powerpc/shared/startup/bspstart.c | 6 ++----
1 file 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 e1c0571..6d7696c 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
--
1.9.3
More information about the devel
mailing list