summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/gsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gateworks/gw_ventana/gsc.c')
-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[])
{