efi: Move relocate_kernel() to shared file.
authorRoy Franz <roy.franz@linaro.org>
Sun, 22 Sep 2013 22:45:31 +0000 (15:45 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 16 Jun 2014 20:17:18 +0000 (21:17 +0100)
commit88d149977c231a35d58dccad3b8763b76afa97a9
treeb97d420a34007a45b64937be4dbb3ef1b4b1c73f
parentf9eb094b899e81b23c617c513f2638f359155a5d
efi: Move relocate_kernel() to shared file.

The relocate_kernel() function will be generalized and used
by all architectures, as they all have similar requirements.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
(cherry picked from commit c6866d7238d4f26055de8db9c1d5a700e554b2d4)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/x86/boot/compressed/eboot.c
drivers/firmware/efi/efi-stub-helper.c