mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
c10b1c43fd
commit
bf52330a50
1 changed files with 1 additions and 1 deletions
|
@ -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[])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue