[coreboot] [PATCH]Include headers instead of sources in romstage, part 2/many

Stefan Reinauer stepan at coresystems.de
Sat May 8 23:40:32 CEST 2010


On 5/8/10 10:59 PM, Patrick Georgi wrote:
> Index: src/include/lib.h
> ===================================================================
> --- src/include/lib.h	(Revision 5532)
> +++ src/include/lib.h	(Arbeitskopie)
> @@ -49,5 +49,7 @@
>  void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);
>  #endif
>  
> +#else /* __ROMCC__ */
> +#include "pc80/serial.c"
>  #endif /* __ROMCC__ */
>  #endif /* __LIB_H__ */
>   
It looks like only console/console.h is actually using these functions,
so I think it should rather be included in console/console.h than in lib.h?

Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100508/f1fb123b/attachment.html>


More information about the coreboot mailing list