summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c4
1 files changed, 0 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 5a9ab3e16e..444522f4ae 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -244,9 +244,7 @@ unsigned int get_eumbbar() {
void bsp_start( void )
{
unsigned char *stack;
-#if !defined(mpc8240) && !defined(mpc8245)
unsigned l2cr;
-#endif
register unsigned char* intrStack;
unsigned char *work_space_start;
ppc_cpu_id_t myCpu;
@@ -271,7 +269,6 @@ void bsp_start( void )
{ unsigned v = 0x3000 ; _CPU_MSR_SET(v); }
#endif
-#if !defined(mpc8240) && !defined(mpc8245)
/*
* enables L1 Cache. Note that the L1_caches_enables() codes checks for
* relevant CPU type so that the reason why there is no use of myCpu...
@@ -288,7 +285,6 @@ void bsp_start( void )
#endif
if ( (! (l2cr & 0x80000000)) && ((int) l2cr == -1))
set_L2CR(0xb9A14000);
-#endif
/*
* the initial stack has already been set to this value in start.S