From d3a180dc6e5721c38340a371c31d358fd5149f59 Mon Sep 17 00:00:00 2001 From: Evgeny Voevodin Date: Mon, 17 Sep 2012 09:14:37 +0400 Subject: [PATCH] tizen/src/hw/maru_arm_board.c: Remove ram dump for ARM. We need to return list of ram regions for ARM, so switch dump of ram off until we implement it (if needed). Signed-off-by: Evgeny Voevodin --- tizen/src/hw/maru_arm_board.c | 8 -------- tizen/src/skin/maruskin_operation.c | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/tizen/src/hw/maru_arm_board.c b/tizen/src/hw/maru_arm_board.c index 3566804afc..c4c656fc80 100644 --- a/tizen/src/hw/maru_arm_board.c +++ b/tizen/src/hw/maru_arm_board.c @@ -62,14 +62,6 @@ static struct arm_boot_info maru_arm_board_binfo = { .write_secondary_boot = maru_arm_write_secondary, }; -/* FIXME: This is a workaround to get get_ram_memory compiled for ARM */ -MemoryRegion *global_ram_memory; - -MemoryRegion *get_ram_memory(void) -{ - return global_ram_memory; -} - static void maru_arm_machine_init(ram_addr_t ram_size, const char *boot_device, const char *kernel_filename, diff --git a/tizen/src/skin/maruskin_operation.c b/tizen/src/skin/maruskin_operation.c index 9ca9b14e12..9042a0587c 100644 --- a/tizen/src/skin/maruskin_operation.c +++ b/tizen/src/skin/maruskin_operation.c @@ -424,7 +424,7 @@ void onoff_usb_kbd( int on ) #define MAX_PATH 256 static void dump_ram( void ) { -#if defined(CONFIG_LINUX) +#if defined(CONFIG_LINUX) && !defined(TARGET_ARM) /* FIXME: Handle ARM ram as list */ MemoryRegion* rm = get_ram_memory(); unsigned int size = rm->size.lo; char dump_fullpath[MAX_PATH]; -- 2.34.1