projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f67397
)
Fix typo preventing relocated space from being used for option roms.
author
Kevin O'Connor
<kevin@koconnor.net>
Sat, 25 Sep 2010 16:46:38 +0000
(12:46 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sat, 25 Sep 2010 16:46:38 +0000
(12:46 -0400)
src/optionroms.c
patch
|
blob
|
history
diff --git
a/src/optionroms.c
b/src/optionroms.c
index f26a3aa95ccf9b85515cf2ed45221783a9c53157..ceb4060391ed9f0e0c930eba0fd9866f38e67ac7 100644
(file)
--- 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)code32
flat_start : (u32)code32init_end
;
+ return CONFIG_RELOCATE_INIT ? (u32)code32
init_end : (u32)code32flat_start
;
}
// Return the memory position up to which roms may be located.
static inline u32 max_rom(void) {