3 (with one of them way too much assembler code). On the way, I had to make some changes to the way the code is built, which is an effort I want to expand over time. Right now, large portions of the in-ROM part of coreboot is compiled as a single file, with lots of .c files including other .c files. That has its justification for pre-raminit code, but it also affects lots of post-raminit code (memcpy doesn't really make sense before raminit, or at least CAR) The coreboot_apc code (AMD boards) gained some .c includes because I don't know that part of the code enough to really rework it and only have limited possibilities to test it. The includes should give an identical situation for this part of the code. This change was posted as set of 6 patches to the list, but they were mostly split for review purposes, hence commit them all at once. They can still be backed up using the patch files, if necessary. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4233 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
27 lines
387 B
Text
27 lines
387 B
Text
uses CONFIG_ROM_PAYLOAD
|
|
uses CONFIG_IDE_PAYLOAD
|
|
uses CONFIG_FS_PAYLOAD
|
|
uses CONFIG_IDE
|
|
uses CONFIG_SERIAL_PAYLOAD
|
|
uses CONFIG_CBFS
|
|
|
|
if CONFIG_CBFS
|
|
else
|
|
if CONFIG_ROM_PAYLOAD
|
|
object rom_stream.o
|
|
end
|
|
|
|
if CONFIG_IDE_PAYLOAD
|
|
default CONFIG_IDE=1
|
|
object ide_stream.o
|
|
end
|
|
|
|
if CONFIG_FS_PAYLOAD
|
|
object fs_stream.o
|
|
dir fs
|
|
end
|
|
|
|
if CONFIG_SERIAL_PAYLOAD
|
|
object serial_stream.o
|
|
end
|
|
end
|