[coreboot] what if some mainboard use that function, others dont

Peter Stuge peter at stuge.se
Thu Jan 20 04:16:03 CET 2011

Bao, Zheng wrote:
> I need to add some functions in early_setup.c of southbridge, sb700, for
> example. But some other mainboards don't use those functions. Given the
> Werror in Makefile, I can't make these 2 cases pass the compiling both.

You mean to add a function in sb700 early_setup.c that will not be
called in some mainboards, but will be used in other mainboards,
right? I would expect that to work without errors. Can you show an
example and the error message you encounter?


More information about the coreboot mailing list