Use __PAYLOAD__ instead of PAYLOAD as replacement template for abuild.

Comment out code which currently doesn't compile. Needs fixing later.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2614 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann 2007-04-22 19:03:34 +00:00
parent a94b4c6bc1
commit 6f278ad828
12 changed files with 25 additions and 27 deletions

View File

@ -54,11 +54,12 @@
#if CONFIG_USE_INIT == 0
#include "lib/memcpy.c"
#if CONFIG_USE_PRINTK_IN_CAR == 1
#include "lib/uart8250.c"
#include "console/vtxprintf.c"
#include "arch/i386/lib/printk_init.c"
#endif
// TODO: This doesn't compile at the moment. Fix later.
// #if CONFIG_USE_PRINTK_IN_CAR == 1
// #include "lib/uart8250.c"
// #include "console/vtxprintf.c"
// #include "arch/i386/lib/printk_init.c"
// #endif
#endif
#include "northbridge/amd/amdk8/debug.c"
#include "cpu/amd/mtrr/amd_earlymtrr.c"

View File

@ -78,9 +78,6 @@
#define DEFAULT 0x00010101 /* default row entry */
typedef uint8_t u8;
typedef uint32_t u32;
#ifndef CROSS_BAR_47_56
#define CROSS_BAR_47_56 0
#endif

View File

@ -15,13 +15,13 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -15,13 +15,13 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -20,7 +20,7 @@ romimage "fallback"
option ROM_IMAGE_SIZE=128 * 1024 # 0x10000
# option ROM_IMAGE_SIZE=512 * 1024 # 0x10000
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "fallback"

View File

@ -15,7 +15,7 @@ option IRQ_SLOT_COUNT=6
romimage "image"
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION="-OpenBIOS"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./qemu-bios.rom ROM_SIZE "image"

View File

@ -15,13 +15,13 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -13,13 +13,13 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -13,13 +13,13 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -15,7 +15,7 @@ romimage "fallback"
# option ROM_IMAGE_SIZE=32 * 1024 # 0x8000
option ROM_IMAGE_SIZE=128 * 1024 # 0x10000
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "fallback"

View File

@ -31,14 +31,14 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=64*1024
option LINUXBIOS_EXTRA_VERSION=".0-Normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=64*1024
option LINUXBIOS_EXTRA_VERSION=".0-Fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -144,14 +144,14 @@ romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload PAYLOAD
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
EOF
@ -159,7 +159,7 @@ EOF
cat <<EOF
romimage "only"
option LINUXBIOS_EXTRA_VERSION=".0"
payload PAYLOAD
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "only"
EOF
@ -175,7 +175,7 @@ EOF
sed -i.pre -e s,VENDOR,$VENDOR,g \
-e s,MAINBOARD,$MAINBOARD,g \
-e s,payload\ PAYLOAD,payload\ $PAYLOAD,g \
-e s,payload\ __PAYLOAD__,payload\ $PAYLOAD,g \
-e s,CROSSCC,"$CC",g \
-e s,CROSS_PREFIX,"$CROSS_COMPILE",g \
-e s,CROSS_HOSTCC,"$HOSTCC",g \