From f64893a94ffb2b7d79364736fc10aebe9bd9176e Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 23 Jul 2009 22:03:14 +0000 Subject: CBFS stuff: - update, add, and improve comments - whitespace here and there - remove unused or write-only variables - improve debug output - only build payload.{nrv2b,lzma} for non-cbfs - improved error checking in cbfstool Signed-off-by: Stefan Reinauer Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4466 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/elfboot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/boot/elfboot.c') diff --git a/src/boot/elfboot.c b/src/boot/elfboot.c index e633962799..958112d669 100644 --- a/src/boot/elfboot.c +++ b/src/boot/elfboot.c @@ -107,11 +107,11 @@ int verify_ip_checksum( * a machine, and implementing general relocation is hard. * * The solution: - * - Allocate a buffer twice the size of the coreboot image. - * - Anything that would overwrite coreboot copy into the lower half of + * - Allocate a buffer the size of the coreboot image plus additional + * required space. + * - Anything that would overwrite coreboot copy into the lower part of * the buffer. - * - After loading an ELF image copy coreboot to the upper half of the - * buffer. + * - After loading an ELF image copy coreboot to the top of the buffer. * - Then jump to the loaded image. * * Benefits: -- cgit v1.2.3