[U-Boot] board/BuR/common: incorrect check of dtb

Anatolij Gustschin agust at denx.de
Fri May 5 18:11:54 UTC 2017


On Fri, 5 May 2017 12:38:06 -0400
Tom Rini trini at konsulko.com wrote:
...
> >  	char *dtbname = getenv("dtb");
> >  	char *dtbdev = getenv("dtbdev");
> >  	char *dtppart = getenv("dtbpart");
> > -	if (!dtbdev || !dtbdev || !dtbname) {
> > +	if (!dtbdev || !dtbpart || !dtbname) {
> >  		printf("%s: <dtbdev>/<dtbpart>/<dtb> missing.\n", __func__);
> >  		return -1;
> >  	}  
> 
> This breaks some boards such as brppt1_mmc, which I agree doesn't make a
> lot of sense with just the above context, can you please test building
> 'BuR' via buildman?  Thanks!

dtbpart is wrong here, the defined variable is dtppart.

--
Anatolij


More information about the U-Boot mailing list