microblaze: Calculate kernel pad automatically
authorMichal Simek <michal.simek@xilinx.com>
Wed, 6 Nov 2013 15:36:08 +0000 (16:36 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 7 Nov 2013 08:22:40 +0000 (09:22 +0100)
commit7f15a256b556bf26780d7a0bd03c88914a852022
treebbb2027e663a55204c63859c61fb06d09796bbb8
parentedf6844ebf4d66546caf2a75e9d05e579990678c
microblaze: Calculate kernel pad automatically

The kernel needs to setup the first two tlbs with pad
which is used for early page allocation which is used
by mapin_ram() to allocate tables for lowmem memory
before memory initialisation is done.
Calculate pad directly from lowmem size.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Kconfig
arch/microblaze/kernel/head.S