diff options
author | Gabe Black <gabeblack@chromium.org> | 2011-12-05 12:09:26 +0000 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-12-19 13:26:16 +1100 |
commit | 69370d144a9e8133461f1662131fbf97ad121165 (patch) | |
tree | bf42baa8da26427c6cf23a8b92ff954dd0715f0a /onenand_ipl | |
parent | f08fa7a2018495c6f2a5eaba5f6d8fdcbc67e6c6 (diff) | |
download | u-boot-imx-69370d144a9e8133461f1662131fbf97ad121165.zip u-boot-imx-69370d144a9e8133461f1662131fbf97ad121165.tar.gz u-boot-imx-69370d144a9e8133461f1662131fbf97ad121165.tar.bz2 |
x86: Refactor the zboot innards so they can be reused with a vboot image
If vboot successfully verifies a kernel, it will leave it in place and
basically ready to boot. The zeropage table which is part of the x86 boot
protocol is at the end of the kernel, though, instead of the beginning, and
because the image is already in place there's no need to copy it around.
This change refactors the code which implements the zboot command so that
the configuration of the zeropage table and loading the pieces of the
kernel into memory are done separately. Also, because the command line goes
before the zeropage table in vboot which is somewhat incompatible with the
normal protocol, where to put the command line is a now a parameter instead
of being hard coded.
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'onenand_ipl')
0 files changed, 0 insertions, 0 deletions