Uwe Hermann:

Here's a patch which makes all "option ROM_SIZE" lines use x*y format
which is a lot easier to read and modify, without having to use your
brain or a calculator ;-)

Tested with abuild, no errors.



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2398 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2006-09-06 16:42:51 +00:00
parent ca98f32dd5
commit 42fb3164ed
43 changed files with 118 additions and 119 deletions

View File

@ -173,7 +173,7 @@ A sample file:
target x
# over-ride the default rom size in the mainboard file
option ROM_SIZE=0x100000
option ROM_SIZE=1024*1024
mainboard amd/solo
end

View File

@ -20,7 +20,7 @@
in your MB mainboard Config.lb
2. add
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
in your MB targets Config.lb, afer romimage "normal"
3. create you vgabios.bin under normal bios and put that in dir that targets Config residues.
# dd if=/dev/mem of=atix.rom skip=1536 count=96

View File

@ -125,9 +125,9 @@ option CONFIG_ROM_STREAM = 1
#
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
option USE_FALLBACK_IMAGE=0
option ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)

View File

@ -10,7 +10,7 @@ option HAVE_HARD_RESET=1
option HAVE_OPTION_TABLE=1
option HAVE_MP_TABLE=1
option ROM_SIZE=1048576
option ROM_SIZE=1024*1024
option HAVE_FALLBACK_BOOT=1
@ -125,9 +125,9 @@ option CONFIG_ROM_STREAM = 1
#
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
option USE_FALLBACK_IMAGE=0
option ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)

View File

@ -5,7 +5,7 @@
target som_gx533c
mainboard advantech/som_gx533c
option ROM_SIZE=1024*512
option ROM_SIZE=512*1024
option MAXIMUM_CONSOLE_LOGLEVEL=9
option DEFAULT_CONSOLE_LOGLEVEL=9

View File

@ -15,8 +15,7 @@ option CONFIG_MAX_CPUS=4
option HAVE_ACPI_TABLES=1
romimage "normal"
# 512-36 k
option ROM_SIZE = 487424
option ROM_SIZE = 512*1024-36*1024
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x20000
option XIP_ROM_SIZE=0x20000

View File

@ -4,7 +4,7 @@
target rumba
mainboard amd/rumba
option ROM_SIZE=1024*256
option ROM_SIZE=256*1024
romimage "normal"
option USE_FALLBACK_IMAGE=0

View File

@ -4,7 +4,7 @@
target rumba
mainboard amd/rumba
option ROM_SIZE=1024*128
option ROM_SIZE=128*1024
option FALLBACK_SIZE=ROM_SIZE
#option FALLBACK_SIZE=65535

View File

@ -8,11 +8,11 @@ mainboard amd/serengeti_leopard
# serengeti_leopard
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x13800
# option ROM_IMAGE_SIZE=0x17800

View File

@ -5,7 +5,7 @@
target solo-8mbit
mainboard amd/solo
option ROM_SIZE=0x100000
option ROM_SIZE=1024*1024
romimage "only"
option USE_FALLBACK_IMAGE=1

View File

@ -64,7 +64,7 @@ option INTEL_PPRO_MTRR=1
option k7=1
option k8=1
option ROM_SIZE=0x100000
option ROM_SIZE=1024*1024
option HAVE_OPTION_TABLE=1

View File

@ -6,7 +6,7 @@
target hdama
mainboard arima/hdama
option ROM_SIZE=487424
option ROM_SIZE=512*1024-36*1024
# Arima hdama
romimage "normal"

View File

@ -4,7 +4,7 @@
target ims
mainboard bitworks/ims
option ROM_SIZE=524288
option ROM_SIZE=512*1024
romimage "normal"
option USE_FALLBACK_IMAGE=0

View File

@ -7,11 +7,11 @@ mainboard broadcom/blast
romimage "normal"
# 48K for ATI rom
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x13800
# option ROM_IMAGE_SIZE=0x17800

View File

@ -1,7 +1,7 @@
target s1850
mainboard dell/s1850
option ROM_SIZE=0x100000
option ROM_SIZE=1024*1024
option MAXIMUM_CONSOLE_LOGLEVEL=10
option DEFAULT_CONSOLE_LOGLEVEL=10

View File

@ -4,7 +4,7 @@
target 5bcm
mainboard eaglelion/5bcm
option ROM_SIZE=1024*256
option ROM_SIZE=256*1024
romimage "normal"
option USE_FALLBACK_IMAGE=0

View File

@ -38,7 +38,7 @@ romimage "normal"
option CONFIG_FS_FAT=1
option AUTOBOOT_CMDLINE="hda1:/vmlinuz"
option ROM_SIZE=1048576
option ROM_SIZE=1024*1024
## Board has fixed size RAM
option EMBEDDED_RAM_SIZE=64*1024*1024

View File

@ -3,7 +3,7 @@
target qemu-i386
mainboard emulation/qemu-i386
option ROM_SIZE=0x40000
option ROM_SIZE=256*1024
option CC="gcc -m32"

View File

@ -3,7 +3,7 @@ mainboard intel/xe7501devkit
## ROM_SIZE is the total number of bytes allocated for LinuxBIOS use
## (normal AND fallback images and payloads).
option ROM_SIZE = 0x30000
option ROM_SIZE = 192*1024
## ROM_IMAGE_SIZE is the maximum number of bytes allowed for a LinuxBIOS image,
## not including any payload.

View File

@ -4,7 +4,7 @@
target frontrunner
mainboard lippert/frontrunner
option ROM_SIZE=1024*256
option ROM_SIZE=256*1024
romimage "normal"
option USE_FALLBACK_IMAGE=0

View File

@ -57,7 +57,7 @@ option IDE_SWAB=1
option IDE_OFFSET=0
# ROM is 1Mb
option ROM_SIZE=1048576
option ROM_SIZE=1024*1024
# Set stack and heap sizes (stage 2)
option STACK_SIZE=0x10000

View File

@ -17,7 +17,7 @@ option DEFAULT_CONSOLE_LOGLEVEL=8
option CONFIG_CONSOLE_SERIAL8250=1
# Size of the image. Khepri comes with 512k per default.
option ROM_SIZE=524288
option ROM_SIZE=512*1024
option HAVE_OPTION_TABLE=1
option CONFIG_ROM_STREAM=1

View File

@ -3,7 +3,7 @@
target rev_a
mainboard olpc/rev_a
option ROM_SIZE=1024*128*7
option ROM_SIZE=7*128*1024
option FALLBACK_SIZE=ROM_SIZE
#romimage "normal"

View File

@ -5,7 +5,7 @@ mainboard olpc/rev_a
# leave 64k for vsa
option CONFIG_COMPRESSED_ROM_STREAM=0
option ROM_SIZE=1024*512-64*1024
option ROM_SIZE=512*1024-64*1024
option FALLBACK_SIZE=ROM_SIZE
option DEFAULT_CONSOLE_LOGLEVEL = 11

View File

@ -9,13 +9,13 @@ option ROM_SIZE=512*1024
# sunw ultra40
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
# 64K for NIC option 48K for Raid option rom
# option ROM_SIZE = 409600
# option ROM_SIZE = 512*1024-64*1024-48*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13800

View File

@ -25,7 +25,7 @@ option IDE_SWAB=1
option IDE_OFFSET=0
# ROM is 1Mb
option ROM_SIZE=1048576
option ROM_SIZE=1024*1024
# Set stack and heap sizes (stage 2)
option STACK_SIZE=0x10000

View File

@ -8,11 +8,11 @@ mainboard tyan/s2735
# Tyan s2735
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x11800
option XIP_ROM_SIZE=0x20000

View File

@ -8,11 +8,11 @@ mainboard tyan/s2850
# Tyan s2850
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x16000

View File

@ -8,11 +8,11 @@ mainboard tyan/s2875
# Tyan s2875
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13800

View File

@ -8,11 +8,11 @@ mainboard tyan/s2880
# Tyan s2880
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13800

View File

@ -8,11 +8,11 @@ mainboard tyan/s2881
# Tyan s2881
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13000

View File

@ -8,11 +8,11 @@ mainboard tyan/s2882
# Tyan s2882
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x16000

View File

@ -8,11 +8,11 @@ mainboard tyan/s2885
# Tyan s2895
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x13800
# option ROM_IMAGE_SIZE=0x17800

View File

@ -8,13 +8,13 @@ mainboard tyan/s2891
# Tyan s2891
romimage "normal"
# 48K for ATI ROM in 1M
option ROM_SIZE = 999424
option ROM_SIZE = 1024*1024-48*1024
# 48K for SCSI FW or ATI ROM
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13000

View File

@ -8,11 +8,11 @@ mainboard tyan/s2891
# Tyan s2891
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13000

View File

@ -8,13 +8,13 @@ mainboard tyan/s2892
# Tyan s2892
romimage "normal"
# 48K for ATI ROM in 1M
option ROM_SIZE = 999424
option ROM_SIZE = 1024*1024-48*1024
# 48K for SCSI FW or ATI ROM
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13800

View File

@ -8,13 +8,13 @@ mainboard tyan/s2895
# Tyan s2895
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 475136
# option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
# 64K for NIC option 48K for Raid option rom
# option ROM_SIZE = 409600
# option ROM_SIZE = 512*1024-64*1024-48*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x11800
# option ROM_IMAGE_SIZE=0x13800

View File

@ -8,11 +8,11 @@ mainboard tyan/s4880
# Tyan s4880
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x19000
# option ROM_IMAGE_SIZE=0x19c00

View File

@ -8,11 +8,11 @@ mainboard tyan/s4882
# Tyan s4882
romimage "normal"
# 48K for SCSI FW or ATI ROM
option ROM_SIZE = 475136
option ROM_SIZE = 512*1024-48*1024
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# option ROM_SIZE = 512*1024-48*1024-48*1024
# 64K for Etherboot
# option ROM_SIZE = 458752
# option ROM_SIZE = 512*1024-64*1024
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x19000
# option ROM_IMAGE_SIZE=0x19c00

View File

@ -7,7 +7,7 @@ option MAXIMUM_CONSOLE_LOGLEVEL=8
option DEFAULT_CONSOLE_LOGLEVEL=8
option CONFIG_CONSOLE_SERIAL8250=1
option ROM_SIZE=524288
option ROM_SIZE=512*1024
option HAVE_OPTION_TABLE=1

View File

@ -9,7 +9,7 @@ option MAXIMUM_CONSOLE_LOGLEVEL=8
option DEFAULT_CONSOLE_LOGLEVEL=8
option CONFIG_CONSOLE_SERIAL8250=1
option ROM_SIZE=524288
option ROM_SIZE=512*1024
option HAVE_OPTION_TABLE=1

View File

@ -4,7 +4,7 @@
target epia.512kflash
mainboard via/epia
option ROM_SIZE=524288
option ROM_SIZE=512*1024
#
# Via Epia

View File

@ -4,7 +4,7 @@
target epia.512kflash.linuxtiny
mainboard via/epia
option ROM_SIZE=524288
option ROM_SIZE=512*1024
option FALLBACK_SIZE=ROM_SIZE
option MAXIMUM_CONSOLE_LOGLEVEL=10
option DEFAULT_CONSOLE_LOGLEVEL=10