[coreboot] [PATCH]Move includes to files that actually use them

Patrick Georgi patrick at georgi-clan.de
Sun May 9 22:47:15 CEST 2010


Hi,

as part of the ongoing quest to clean up the code to make it easier to
use and adapt, I added a couple of #include statements to AMD code, so
it gains some self-sufficiency.

These includes are necessary because those files use their definitions.
It only works so far because the romstage carefully includes files in
the right order so everything is included before it's needed by another
file.

This change, and similar ones that will come after it, allow us to
simplify the romstage.c of boards that use these chipsets (ie. Fam10 for
this patch), making it easier to support new boards.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20100509-2-amd-includes
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100509/6d06c5c0/attachment.ksh>


More information about the coreboot mailing list