summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-03 09:16:29 -0500
committerStefano Babic <sbabic@denx.de>2018-01-12 14:28:04 +0100
commitbf52330a507901af2a5581bec99c6da01388a335 (patch)
treea78ec8c259e1cb393265f33e71bb5920612911fb /board/gateworks/gw_ventana
parentc10b1c43fdd80fe01ad527e6d024bfaa19eb361a (diff)
downloadu-boot-bf52330a507901af2a5581bec99c6da01388a335.tar.gz
u-boot-bf52330a507901af2a5581bec99c6da01388a335.tar.bz2
u-boot-bf52330a507901af2a5581bec99c6da01388a335.zip
imx: ventana: Rework CONFIG_CMD_GSC code to not be included in SPL
The command can only be used from full U-Boot, so do not build it into SPL. Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/gateworks/gw_ventana')
-rw-r--r--board/gateworks/gw_ventana/gsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/gsc.c b/board/gateworks/gw_ventana/gsc.c
index 68b1ddb532..f2a01b84de 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[])
{