On Wed, Jan 3, 2018 at 6:16 AM, Tom Rini <[email protected]> wrote:
> The command can only be used from full U-Boot, so do not build it into
> SPL.
>
> Cc: Stefano Babic <[email protected]>
> Cc: Fabio Estevam <[email protected]>
> Cc: Tim Harvey <[email protected]>
> Signed-off-by: Tom Rini <[email protected]>
> ---
>  board/gateworks/gw_ventana/gsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/gateworks/gw_ventana/gsc.c 
> b/board/gateworks/gw_ventana/gsc.c
> index 68b1ddb532e0..f2a01b84deb2 100644
> --- a/board/gateworks/gw_ventana/gsc.c
> +++ b/board/gateworks/gw_ventana/gsc.c
> @@ -172,7 +172,7 @@ int gsc_boot_wd_disable(void)
>         return 1;
>  }
>
> -#ifdef CONFIG_CMD_GSC
> +#if defined(CONFIG_CMD_GSC) && !defined(CONFIG_SPL_BUILD)
>  static int do_gsc_sleep(cmd_tbl_t *cmdtp, int flag, int argc,
>                         char * const argv[])
>  {
> --
> 2.7.4
>

Acked-by: Tim Harvey <[email protected]>

Thanks Tom,

Tim
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to