- O2, enums, and switch statements work in romcc

- Support for compiling romcc on non x86 platforms
  - new romc options -msse and -mmmx for specifying extra registers to use
  - Bug fixes to device the device disable/enable framework and an amd8111 implementation
  - Move the link specification to the chip specification instead of the path
  - Allow specifying devices with internal bridges.
  - Initial via epia support
 - Opteron errata fixes


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1200 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman
2003-10-11 06:20:25 +00:00
parent 080038bfbd
commit 83b991afff
90 changed files with 8036 additions and 1974 deletions

View File

@@ -93,9 +93,7 @@ romimage "normal"
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION=".0Normal"
mainboard arima/hdama
payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
# use this to test a build if you don't have the etherboot
# payload /etc/hosts
payload /usr/share/etherboot/5.2.1eb1-lnxi-lb/tg3--ide_disk.zelf
end
romimage "fallback"
@@ -103,7 +101,7 @@ romimage "fallback"
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
mainboard arima/hdama
payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
payload /usr/share/etherboot/5.2.1eb1-lnxi-lb/tg3--ide_disk.zelf
# use this to test a build if you don't have the etherboot
# payload /etc/hosts
end

View File

@@ -1,5 +1,5 @@
#!/bin/sh
PYTHON=python
# Target build script
if [ $# -lt 1 ]; then
@@ -17,7 +17,9 @@ fi
target_dir=$lbpath/targets
config_lb=$1
config_dir=$lbpath/util/newconfig
config_py=$config_dir/config.py
yapps2_py=$config_dir/yapps2.py
config_g=$config_dir/config.g
config_py=$config_lb/config.py
if [ ! -d $target_dir ]; then
echo "Target directory not found"
@@ -38,18 +40,12 @@ fi
if [ ! -f $config_py ]; then
echo "No linuxbios config script found. Rebuilding it.."
(
cd $config_dir
make config.py
)
echo "done."
# exit 1
$PYTHON $yapps2_py $config_g $config_py
fi
# make sure config.py is up-to-date
(cd $config_dir && make config.py)
python $config_py $config_lb $lbpath
export PYTHONPATH=$config_dir
$PYTHON $config_py $config_lb $lbpath
exit $?