microblaze: Improve TLB calculation for small systems
authorMichal Simek <monstr@monstr.eu>
Mon, 8 Feb 2010 15:41:38 +0000 (16:41 +0100)
committerMichal Simek <monstr@monstr.eu>
Fri, 23 Mar 2012 08:28:18 +0000 (09:28 +0100)
commit95b0f9ea66661681f6ae081ea28416744d622c07
treec4d387b9e4a5add47945be3036c7e5682ea5330c
parent3a1d26769f61fe8a1f517a66dfcee935a76fd61c
microblaze: Improve TLB calculation for small systems

Systems with small amount of memory need to be handled
differently. Linux can't allocate the whole 32MB with two TLBs
because then there is no MMU protection.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/Kconfig
arch/microblaze/include/asm/setup.h
arch/microblaze/include/asm/system.h
arch/microblaze/kernel/head.S
arch/microblaze/kernel/setup.c
arch/microblaze/mm/init.c