On Monday, January 04, 2016 at 01:27:27 PM, Peng Fan wrote:
> This commit 4bdcbe60a142b08eefccb0e326a37ba81d3389e8 removes reset_cpu
> which breaks SPL build when DEBUG macro defined.
> 
> "
> arch/arm/lib/built-in.o: In function `do_reset':
> ~/uboot/arch/arm/lib/reset.c:45: undefined reference to `reset_cpu'
> scripts/Makefile.spl:244: recipe for target 'spl/u-boot-spl' failed
> "
> Enable CONFIG_SPL_WATCHDOG_SUPPORT to fix this issue.

Why don't you implement dummy reset_cpu() {} instead ?

> Signed-off-by: Peng Fan <[email protected]>
> Cc: Stefano Babic <[email protected]>
> Cc: Fabio Estevam <[email protected]>
> Cc: Marek Vasut <[email protected]>
> Cc: Tim Harvey <[email protected]>
> ---
>  include/configs/imx6_spl.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
> index 43ce7fe..68d3fd7 100644
> --- a/include/configs/imx6_spl.h
> +++ b/include/configs/imx6_spl.h
> @@ -34,6 +34,7 @@
>  #define CONFIG_SPL_SERIAL_SUPPORT
>  #define CONFIG_SPL_I2C_SUPPORT
>  #define CONFIG_SPL_GPIO_SUPPORT
> +#define CONFIG_SPL_WATCHDOG_SUPPORT
> 
>  /* NAND support */
>  #if defined(CONFIG_SPL_NAND_SUPPORT)

Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to