From 6d74d76de46e733fa4866f47b58be60feb472f1f Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Wed, 4 Oct 2006 23:57:49 +0000 Subject: get_bus_cong using sysconf instead git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2442 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/tyan/s2895/Config.lb | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'targets/tyan') diff --git a/targets/tyan/s2895/Config.lb b/targets/tyan/s2895/Config.lb index c6ef62fb0a..73ca4759ea 100644 --- a/targets/tyan/s2895/Config.lb +++ b/targets/tyan/s2895/Config.lb @@ -8,13 +8,14 @@ mainboard tyan/s2895 # Tyan s2895 romimage "normal" # 48K for SCSI FW -# option ROM_SIZE = 512*1024-48*1024 +# option ROM_SIZE = 475136 # 48K for SCSI FW and 48K for ATI ROM -# option ROM_SIZE = 512*1024-48*1024-48*1024 +# option ROM_SIZE = 425984 # 64K for Etherboot -# option ROM_SIZE = 512*1024-64*1024 +# option ROM_SIZE = 458752 # 64K for NIC option 48K for Raid option rom -# option ROM_SIZE = 512*1024-64*1024-48*1024 +# option ROM_SIZE = 409600 + option USE_FAILOVER_IMAGE=0 option USE_FALLBACK_IMAGE=0 # option ROM_IMAGE_SIZE=0x11800 # option ROM_IMAGE_SIZE=0x13800 @@ -44,6 +45,7 @@ romimage "normal" end romimage "fallback" + option USE_FAILOVER_IMAGE=0 option USE_FALLBACK_IMAGE=1 # option ROM_IMAGE_SIZE=0x11800 # option ROM_IMAGE_SIZE=0x13800 @@ -69,4 +71,14 @@ romimage "fallback" # payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf end -buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" +romimage "failover" + option USE_FAILOVER_IMAGE=1 + option USE_FALLBACK_IMAGE=0 + option ROM_IMAGE_SIZE=FAILOVER_SIZE + option XIP_ROM_SIZE=FAILOVER_SIZE + option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover" +end + + +buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" "failover" +#buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" -- cgit v1.2.3