microblaze: Fix mapin_ram function
authorMichal Simek <monstr@monstr.eu>
Thu, 22 Dec 2011 11:33:24 +0000 (12:33 +0100)
committerMichal Simek <monstr@monstr.eu>
Fri, 23 Mar 2012 08:28:14 +0000 (09:28 +0100)
commit7c0d26150781cbd8a522259c9dea9e7ef23df8e3
treef0324f4c59a50c74340ab198eda0832085e9be81
parent2f2f371f8907d169650f594850ca6096e2f73b77
microblaze: Fix mapin_ram function

Fix how many pages are allocated in mapin_ram. It is lowmem_size
not setup CONFIG_LOWMEM_SIZE because it is the same for all systems.
Which means that wrong pages are allocated if memory size is smaller
than CONFIG_LOWMEM_SIZE. It has dramatic impact on bootup time.
On sp605 MMU full hw design is 7s.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/page.h
arch/microblaze/mm/pgtable.c