summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorronald g. minnich <ronald g. minnich>2006-09-13 01:10:08 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-09-13 01:10:08 +0000
commitcdb89be9e826e7ab2d13ff36cf12ac9603e845b6 (patch)
treef5fe1bfc536772d2353b39f8d68c4680a1c18337
parent94b17c6a3c26dee2696d1116ab2e964959d9e56c (diff)
downloadcoreboot-cdb89be9e826e7ab2d13ff36cf12ac9603e845b6.tar.xz
mods for qemu, these build
signed-off-by: ronald g. minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2402 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/emulation/qemu-i386/Config.lb30
-rw-r--r--targets/emulation/qemu-i386/Config.lb1
2 files changed, 4 insertions, 27 deletions
diff --git a/src/mainboard/emulation/qemu-i386/Config.lb b/src/mainboard/emulation/qemu-i386/Config.lb
index 3b864a6e27..bddc6e3c59 100644
--- a/src/mainboard/emulation/qemu-i386/Config.lb
+++ b/src/mainboard/emulation/qemu-i386/Config.lb
@@ -3,15 +3,8 @@
## (linuxBIOS plus bootloader) will live in the boot rom chip.
##
default ROM_SIZE = 256 * 1024
-default FALLBACK_SIZE = 128*1024
-
-if USE_FALLBACK_IMAGE
- default ROM_SECTION_SIZE = 128 * 1024 # FALLBACK_SIZE
- default ROM_SECTION_OFFSET = ( ROM_SIZE - FALLBACK_SIZE )
-else
- default ROM_SECTION_SIZE = ( ROM_SIZE - FALLBACK_SIZE )
- default ROM_SECTION_OFFSET = 0
-end
+default ROM_SECTION_SIZE = ROM_SIZE
+default ROM_SECTION_OFFSET = 0
##
## Compute the start location and size size of
@@ -82,13 +75,8 @@ ldscript /cpu/x86/32bit/entry32.lds
##
## Build our reset vector (This is where linuxBIOS is entered)
##
-if USE_FALLBACK_IMAGE
- mainboardinit cpu/x86/16bit/reset16.inc
- ldscript /cpu/x86/16bit/reset16.lds
-else
- mainboardinit cpu/x86/32bit/reset32.inc
- ldscript /cpu/x86/32bit/reset32.lds
-end
+mainboardinit cpu/x86/16bit/reset16.inc
+ldscript /cpu/x86/16bit/reset16.lds
### Should this be in the northbridge code?
mainboardinit arch/i386/lib/cpu_reset.inc
@@ -100,16 +88,6 @@ mainboardinit arch/i386/lib/id.inc
ldscript /arch/i386/lib/id.lds
###
-### This is the early phase of linuxBIOS startup
-### Things are delicate and we test to see if we should
-### failover to another image.
-###
-if USE_FALLBACK_IMAGE
- ldscript /arch/i386/lib/failover.lds
- mainboardinit ./failover.inc
-end
-
-###
### O.k. We aren't just an intermediary anymore!
###
diff --git a/targets/emulation/qemu-i386/Config.lb b/targets/emulation/qemu-i386/Config.lb
index 529eb9dfb2..c12b5abd7a 100644
--- a/targets/emulation/qemu-i386/Config.lb
+++ b/targets/emulation/qemu-i386/Config.lb
@@ -8,7 +8,6 @@ option ROM_SIZE=256*1024
option CC="gcc -m32"
romimage "image"
- option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION="-OpenBIOS"
payload /home/stepan/openbios.elf