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

Bao, Zheng Zheng.Bao at amd.com
Thu Jan 20 06:37:51 CET 2011


I've got the way to handle it. Thanks.

Zheng

> -----Original Message-----
> From: coreboot-bounces at coreboot.org
[mailto:coreboot-bounces at coreboot.org]
> On Behalf Of Peter Stuge
> Sent: Thursday, January 20, 2011 11:16 AM
> To: coreboot at coreboot.org
> Subject: Re: [coreboot] what if some mainboard use that function,
others
> dont
> 
> 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?
> 
> 
> //Peter
> 
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot






More information about the coreboot mailing list