2007-11-30 Till Straumann <strauman@slac.stanford.edu>

* shared/startup/bspstart.c: Removed excess /*, replaced
	#ifdef checks for mpc8240 by #ifdef mvme2100; eventually
	there should be run-time checks.
This commit is contained in:
Till Straumann
2007-11-30 22:33:30 +00:00
parent 4f38270a98
commit 416ec41d40
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/bspstart.c: Removed excess /*, replaced
#ifdef checks for mpc8240 by #ifdef mvme2100; eventually
there should be run-time checks.
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/motorola/motorola.c: removed excess initializer

View File

@@ -58,7 +58,6 @@ extern void ShowBATS();`
*/
uint32_t bsp_clicks_per_usec;
/*
/*
* Copy of residuals passed by firmware
*/
@@ -138,7 +137,7 @@ void save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_op
loaderParam[MAX_LOADER_ADD_PARM - 1] ='\0';
}
#if defined(mpc8240) || defined(mpc8245)
#if defined(mvme2100)
unsigned int EUMBBAR;
/*
@@ -161,7 +160,7 @@ unsigned int get_eumbbar() {
void bsp_start( void )
{
unsigned char *stack;
#if !defined(mpc8240) && !defined(mpc8245)
#if !defined(mvme2100)
unsigned l2cr;
#endif
register uint32_t intrStack;
@@ -216,7 +215,7 @@ void bsp_start( void )
*/
L1_caches_enables();
#if !defined(mpc8240) && !defined(mpc8245)
#if !defined(mvme2100)
/*
* Enable L2 Cache. Note that the set_L2CR(L2CR) codes checks for
* relevant CPU type (mpc750)...