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

Stefan Reinauer stepan at coresystems.de
Sun May 9 23:04:44 CEST 2010

On 5/9/10 10:47 PM, Patrick Georgi wrote:
> 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>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

More information about the coreboot mailing list