From 91e590ee768a85312ff68a61857297963264649d Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Thu, 19 Jan 2017 21:38:59 +0100 Subject: [PATCH] remove accidentally commit --- mm/memory.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 940987093..3bf6b945c 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -272,17 +272,7 @@ int memory_init(void) LOG_INFO("Free region 0x%zx - 0x%zx\n", start_addr, end_addr); - if ((start_addr <= base) && (end_addr <= base)) { - init_list.start = start_addr; - init_list.end = end_addr; - - LOG_INFO("Add region 0x%zx - 0x%zx\n", init_list.start, init_list.end); - } else if ((start_addr <= base) && (end_addr < PAGE_2M_FLOOR(base+image_size))) { - init_list.start = start_addr; - init_list.end = base; - - LOG_INFO("Add region 0x%zx - 0x%zx\n", init_list.start, init_list.end); - } else if ((start_addr <= base) && (end_addr >= PAGE_2M_FLOOR(base+image_size))) { + if ((start_addr <= base) && (end_addr >= PAGE_2M_FLOOR(base+image_size))) { init_list.start = PAGE_2M_FLOOR(base+image_size); init_list.end = end_addr;