[coreboot] [PATCH] ifdef & config problems

Myles Watson mylesgw at gmail.com
Mon Oct 19 18:21:45 CEST 2009


On Sat, Oct 17, 2009 at 8:52 AM, Uwe Hermann <uwe at hermann-uwe.de> wrote:

>
> > Signed-off-by: Myles Watson <mylesgw at gmail.com>
>
> Sounds good. If it survives abuild and kbuildall this is
>
> Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
>
Rev  4809.


> > Index: cbv2/src/arch/i386/boot/coreboot_table.c
> > ===================================================================
> > --- cbv2.orig/src/arch/i386/boot/coreboot_table.c
> > +++ cbv2/src/arch/i386/boot/coreboot_table.c
> > @@ -99,7 +99,7 @@ static struct lb_memory *lb_memory(struc
> >
> >  static struct lb_serial *lb_serial(struct lb_header *header)
> >  {
> > -#if defined(CONFIG_TTYS0_BASE)
> > +#if CONFIG_CONSOLE_SERIAL8250
>
> Does this affect newconfig? Is CONFIG_CONSOLE_SERIAL8250 properly
> defined and set in newconfig, or only in kconfig?
>
CONFIG_CONSOLE_SERIAL8250 defaults to 0 and is always exported.


>
> > Index: cbv2/src/southbridge/via/vt8237r/vt8237r_lpc.c
> > ===================================================================
> > --- cbv2.orig/src/southbridge/via/vt8237r/vt8237r_lpc.c
> > +++ cbv2/src/southbridge/via/vt8237r/vt8237r_lpc.c
>
>
> > @@ -499,7 +499,7 @@ static void vt8237_common_init(struct de
> >       /* Delay transaction control */
> >       pci_write_config8(dev, 0x43, 0xb);
> >
> > -#ifdef CONFIG_EPIA_VT8237R_INIT
> > +#if !CONFIG_EPIA_VT8237R_INIT
>
> This looks incorrect, the "!" should not be there.
>
Good catch!

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091019/4b58f2e4/attachment.html>


More information about the coreboot mailing list