config: Add CONFIGURE_DIRTY_MEMORY

Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY
configuration option.

Update #3843.
This commit is contained in:
Sebastian Huber
2020-02-04 15:26:31 +01:00
parent 8ecbc3826e
commit 2d07ce6d21
7 changed files with 55 additions and 23 deletions

View File

@@ -24,19 +24,6 @@
*/
const char *bsp_boot_cmdline;
#if BSP_DIRTY_MEMORY == 1
static void bsp_dirty_memory(void)
{
_Memory_Fill( _Memory_Get(), 0xcf );
}
RTEMS_SYSINIT_ITEM(
bsp_dirty_memory,
RTEMS_SYSINIT_DIRTY_MEMORY,
RTEMS_SYSINIT_ORDER_MIDDLE
);
#endif
RTEMS_SYSINIT_ITEM(
bsp_start,
RTEMS_SYSINIT_BSP_START,