2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>

* startup/bspstart.c: BSP_DIRTY_MEMORY should be tested for zero not
	just defined.
This commit is contained in:
Joel Sherrill
2007-11-30 18:16:16 +00:00
parent 956286dc20
commit a9c7159574
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: BSP_DIRTY_MEMORY should be tested for zero not
just defined.
2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c, Makefile.am: Initialize BATs and enable MMU

View File

@@ -189,7 +189,7 @@ void bsp_start( void )
}
BSP_Configuration.work_space_start = work_space_start;
#if defined(BSP_DIRTY_MEMORY)
#if (BSP_DIRTY_MEMORY == 1)
{
memset(&end, 0xCF, (unsigned char *)&RAM_END - (unsigned char *)&end );
}