summaryrefslogtreecommitdiff
path: root/src/boot/elfboot.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-07-23 22:03:14 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-07-23 22:03:14 +0000
commitf64893a94ffb2b7d79364736fc10aebe9bd9176e (patch)
tree67bf3d26a9b2a6a7e82eb704b4e0e028e80ea844 /src/boot/elfboot.c
parentaeb6c9870f0b1af8c0b55b2034f881da6757c4a4 (diff)
downloadcoreboot-f64893a94ffb2b7d79364736fc10aebe9bd9176e.tar.xz
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 <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4466 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot/elfboot.c')
-rw-r--r--src/boot/elfboot.c8
1 files changed, 4 insertions, 4 deletions
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: