summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot/elfboot.c4
-rw-r--r--src/southbridge/amd/amd8111/chip.h10
2 files changed, 11 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,
diff --git a/src/southbridge/amd/amd8111/chip.h b/src/southbridge/amd/amd8111/chip.h
new file mode 100644
index 0000000000..d100e98060
--- /dev/null
+++ b/src/southbridge/amd/amd8111/chip.h
@@ -0,0 +1,10 @@
+#ifndef AMD8111_CHIP_H
+#define AMD8111_CHIP_H
+
+struct southbridge_amd_amd8111_config
+{
+};
+struct chip_operations;
+extern struct chip_operations southbridge_amd_amd8111_ops;
+
+#endif /* AMD8111_CHIP_H */