From f32a99ae209c71edecbd7695fa1f2e5132d915a5 Mon Sep 17 00:00:00 2001 From: lixuefeng Date: Fri, 27 Feb 2015 10:20:06 +0800 Subject: [PATCH] Fixup the memory window which be transfered from pmon to kernel as a parameter,reserve the memory : 0~2MB and 240~256MB Change-Id: I23224a682249cf46ab71d5ef07e47ab3e41845ce Target:LS2G1A --- Targets/Bonito2g1a/Bonito/tgt_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Targets/Bonito2g1a/Bonito/tgt_machdep.c b/Targets/Bonito2g1a/Bonito/tgt_machdep.c index b76724d1..d9239f88 100644 --- a/Targets/Bonito2g1a/Bonito/tgt_machdep.c +++ b/Targets/Bonito2g1a/Bonito/tgt_machdep.c @@ -1323,7 +1323,7 @@ struct efi_memory_map_loongson * init_memory_map() emap->map[(entry)].mem_size = (size), \ (entry)++ - EMAP_ENTRY(i, 0, SYSTEM_RAM_LOW, 0x00100000, 0x0ff); + EMAP_ENTRY(i, 0, SYSTEM_RAM_LOW, 0x00200000, 0x0ee); /* for entry with mem_size < 1M, we set bit31 to 1 to indicate * that the unit in mem_size is Byte not MBype */