mkelfImage: set kernel_alignment so 2.6.31+ work
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 5 Oct 2010 18:22:00 +0000 (18:22 +0000)
committerPeter Stuge <peter@stuge.se>
Tue, 5 Oct 2010 18:22:00 +0000 (18:22 +0000)
commita5a776131aef5a861d3c27dd4e9a37457991dc98
tree0bbb665b5281e104c59901120b140e8489b9eebc
parent5f89d0a7a4f80b26082def1667b30a24b0b1218c
mkelfImage: set kernel_alignment so 2.6.31+ work

The kernel initialization code as of boot protocol 2.10 is now reading the
kernel_alignment field.  With the field left unset the kernel attempts to
align things to 4GB which is unlikely to work, so change the alignment to
the kernel's normal value of 16MB so newer kernels processed by mkelfImage
will boot.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5914 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/mkelfImage/linux-i386/convert_params.c