[U-Boot] [linux-sunxi] [PATCH v5 7/8] sunxi: mmc support

Ian Campbell ijc at hellion.org.uk
Mon May 5 15:42:31 CEST 2014


On Mon, 2014-05-05 at 14:18 +0200, Stefan Roese wrote:
> > +	case 1:
> > +#if CONFIG_MMC1_PG

> Are you sure that this is correct and shouldn't be:
> 
> +#ifdef CONFIG_MMC1_PG
> 
> ?

It's "correct" in so far as it works (the boards.cfg config stuff
#defines things to 1), but I think you are right that it isn't the
preferred style. But...

> A quick scan through this patch series shows that this define
> is not set at all. Perhaps its outdated? Or is it used to support
> some other sunxi SoC? Not sure, perhaps it should be removed for
> now.

...I had thought that it was to support some other board which wasn't
being upstreamed right now, so eventually useful and harmless for now,
but I've just checked and it isn't actually used by any of the boards in
u-boot-sunxi.git. So rather than fix it to use #ifdef lets drop it.
Rather than resend the entire series, here is v5.1 of this patch.

> Other than this please add my:
> 
> Reviewed-by: Stefan Roese <sr at denx.de>

Thanks!

8<---------------------------------



More information about the U-Boot mailing list