diff options
| author | Tom Rini <[email protected]> | 2018-01-03 09:16:29 -0500 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 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 <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Tim Harvey <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Acked-by: Tim Harvey <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
| -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 68b1ddb532e..f2a01b84deb 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[]) { |
