summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-10-16 08:45:29 +0000
committerEric Biederman <ebiederm@xmission.com>2004-10-16 08:45:29 +0000
commit92986807bb589e2b98470155c580828bb1a2838b (patch)
tree0e52c372fbeab9f214c26fc2e6b9c4bfc338fcdc /src/boot
parentf3ed1cfad748bf5610d315afba7ec04d6338bd9b (diff)
downloadcoreboot-92986807bb589e2b98470155c580828bb1a2838b.tar.xz
- Cleanup the bugfix in elfboot.c
- Add forgotten amd8111 chip.h git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/elfboot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/boot/elfboot.c b/src/boot/elfboot.c
index eeb4e40cd4..072811918d 100644
--- a/src/boot/elfboot.c
+++ b/src/boot/elfboot.c
@@ -440,12 +440,10 @@ static int load_elf_segments(
end = dest + ptr->s_memsz;
middle = dest + ptr->s_filesz;
start_offset = ptr->s_offset;
-#if 1
+ /* Ignore s_offset if I have a pure bss segment */
if (ptr->s_filesz == 0) {
start_offset = offset;
}
-#endif
-
printk_spew("[ 0x%016lx, %016lx, 0x%016lx) <- %016lx\n",
(unsigned long)dest,