From 2d07ce6d2145b4bdc6a9075e0727cde2a50180a6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 4 Feb 2020 15:26:31 +0100 Subject: config: Add CONFIGURE_DIRTY_MEMORY Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843. --- bsps/shared/start/bootcard.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'bsps') diff --git a/bsps/shared/start/bootcard.c b/bsps/shared/start/bootcard.c index 2eef1ea710..8f053012ec 100644 --- a/bsps/shared/start/bootcard.c +++ b/bsps/shared/start/bootcard.c @@ -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, -- cgit v1.2.3