[U-Boot] [PATCH] arm: imx: Switch mx6cuboxi to use config_distro_bootcmd.h.

Stefano Babic
2015-11-12T17:16:01Z

Hi Vagrant,

On 27/10/2015 21:18, Vagrant Cascadian wrote:
> This allows for more flexible and standardized boot across multiple
> platforms.
>
> Remove redundant legacy boot environment.
>

I have applied it. However, the patch generates a warning due to
CONFIG_BOOT_DELAY, that is defined twice. Firstly, it is defined in
mx6_common.h (anyway, in this file is protected) and then in distro_default

> Cc: Otavio Salvador <otavio@ossystems.com.br>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>

> +#define BOOT_TARGET_DEVICES(func) \
> + func(MMC, mmc, 0) \
> + func(USB, usb, 0) \
> + func(PXE, pxe, na) \
> + func(DHCP, dhcp, na)
> +

> +#include <config_distro_defaults.h>
> +#include <config_distro_bootcmd.h>

Maybe just #undef CONFIG_BOOT_DELAY before including distro files ?

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================