powerpc: enable the relocatable support for the fsl booke 32bit kernel
authorKevin Hao <haokexin@gmail.com>
Tue, 24 Dec 2013 07:12:06 +0000 (15:12 +0800)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Jan 2014 23:52:16 +0000 (17:52 -0600)
commitdd189692d40948d6445bbaeb8cb9bf9d15f54dc6
treea52bf15f5aaa9cecb53efe0cd2bdf3bcc9c463ef
parent1c49abec677c7ff495837dbaafad8e12f09c29fc
powerpc: enable the relocatable support for the fsl booke 32bit kernel

This is based on the codes in the head_44x.S. The difference is that
the init tlb size we used is 64M. With this patch we can only load the
kernel at address between memstart_addr ~ memstart_addr + 64M. We will
fix this restriction in the following patches.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/Kconfig
arch/powerpc/kernel/fsl_booke_entry_mapping.S
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/mm/fsl_booke_mmu.c