tizen/src/hw/maru_arm_board.c: Remove ram dump for ARM.
authorEvgeny Voevodin <e.voevodin@samsung.com>
Mon, 17 Sep 2012 05:14:37 +0000 (09:14 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Tue, 18 Sep 2012 06:18:33 +0000 (10:18 +0400)
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 <e.voevodin@samsung.com>
tizen/src/hw/maru_arm_board.c
tizen/src/skin/maruskin_operation.c

index 3566804afc629cee8496a934ba7d672499d2d4f4..c4c656fc806ccd9cdc9377727ae4bf04e5132f81 100644 (file)
@@ -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,
index 9ca9b14e120f2679e467efca2519b050e3e965af..9042a0587c9283e63c83b702b92f55ebbf2aaf6d 100644 (file)
@@ -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];