commit | 1c7213e95b01fcc6de819cf2f042a5697985e3f9 | [log] [tgz] |
---|---|---|
author | Graeme Russ <graeme.russ@gmail.com> | Sat Apr 24 00:05:45 2010 +1000 |
committer | Wolfgang Denk <wd@denx.de> | Thu May 06 00:15:58 2010 +0200 |
tree | e0c5ac2c31ada55fb1c32c23fd7986a6943b71b4 | |
parent | e07da076687aac37687a20132c7aa456ac2cc456 [diff] [blame] |
x86: Fix copying of Real-Mode code into RAM Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
diff --git a/arch/i386/lib/bios_setup.c b/arch/i386/lib/bios_setup.c index 6491e52..a92b77e 100644 --- a/arch/i386/lib/bios_setup.c +++ b/arch/i386/lib/bios_setup.c
@@ -141,7 +141,7 @@ int bios_setup(void) { - ulong i386boot_bios = (ulong)&_i386boot_bios; + ulong i386boot_bios = (ulong)&_i386boot_bios + gd->reloc_off; ulong i386boot_bios_size = (ulong)&_i386boot_bios_size; static int done=0;