- 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
This commit is contained in:
parent
f3ed1cfad7
commit
92986807bb
|
@ -440,12 +440,10 @@ static int load_elf_segments(
|
||||||
end = dest + ptr->s_memsz;
|
end = dest + ptr->s_memsz;
|
||||||
middle = dest + ptr->s_filesz;
|
middle = dest + ptr->s_filesz;
|
||||||
start_offset = ptr->s_offset;
|
start_offset = ptr->s_offset;
|
||||||
#if 1
|
/* Ignore s_offset if I have a pure bss segment */
|
||||||
if (ptr->s_filesz == 0) {
|
if (ptr->s_filesz == 0) {
|
||||||
start_offset = offset;
|
start_offset = offset;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
printk_spew("[ 0x%016lx, %016lx, 0x%016lx) <- %016lx\n",
|
printk_spew("[ 0x%016lx, %016lx, 0x%016lx) <- %016lx\n",
|
||||||
(unsigned long)dest,
|
(unsigned long)dest,
|
||||||
|
|
|
@ -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 */
|
Loading…
Reference in New Issue