]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl_booke/32: introduce reloc_kernel_entry() helper
authorJason Yan <yanaijie@huawei.com>
Fri, 20 Sep 2019 09:45:39 +0000 (17:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 08:27:37 +0000 (19:27 +1100)
commit028f76fe40e3701923c84976744de631bc51e46c
tree3ee9833247d61bebf813955f9d8aaa0a732d730f
parent256392226e94fbb9d46a2ea381298b4dbe2b1d93
powerpc/fsl_booke/32: introduce reloc_kernel_entry() helper

Add a new helper reloc_kernel_entry() to jump back to the start of the
new kernel. After we put the new kernel in a randomized place we can use
this new helper to enter the kernel and begin to relocate again.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Diana Craciun <diana.craciun@nxp.com>
Tested-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/mm/mmu_decl.h