diff options
author | Tom Rini <trini@konsulko.com> | 2018-01-03 09:16:29 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-01-12 14:28:04 +0100 |
commit | bf52330a507901af2a5581bec99c6da01388a335 (patch) | |
tree | a78ec8c259e1cb393265f33e71bb5920612911fb | |
parent | c10b1c43fdd80fe01ad527e6d024bfaa19eb361a (diff) |
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>
-rw-r--r-- | board/gateworks/gw_ventana/gsc.c | 2 |
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[]) { |