diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-09-25 12:46:38 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-09-25 12:46:38 -0400 |
commit | 4a446d7f17732f0e212cc950819b409b31cedf9b (patch) | |
tree | e0728a19ae1efac0b8ad7b7cd6673a963d8bb4f9 /src/optionroms.c | |
parent | 0f67397152be77c30791c04ba5dd0267cac6754c (diff) | |
download | seabios-4a446d7f17732f0e212cc950819b409b31cedf9b.tar.gz |
Fix typo preventing relocated space from being used for option roms.
Diffstat (limited to 'src/optionroms.c')
-rw-r--r-- | src/optionroms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionroms.c b/src/optionroms.c index f26a3aa9..ceb40603 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -171,7 +171,7 @@ get_pci_rom(struct rom_header *rom) // Return start of code in 0xc0000-0xf0000 space. static inline u32 _max_rom(void) { extern u8 code32flat_start[], code32init_end[]; - return CONFIG_RELOCATE_INIT ? (u32)code32flat_start : (u32)code32init_end; + return CONFIG_RELOCATE_INIT ? (u32)code32init_end : (u32)code32flat_start; } // Return the memory position up to which roms may be located. static inline u32 max_rom(void) { |