]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
imx: spl: enable CONFIG_SPL_WATCHDOG_SUPPORT
authorPeng Fan <van.freenix@gmail.com>
Mon, 4 Jan 2016 12:27:27 +0000 (20:27 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jan 2016 09:03:17 +0000 (10:03 +0100)
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.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Acked-by: Eric Nelson <eric@nelint.com>
include/configs/imx6_spl.h

index 43ce7fe25f18482a79e798e66e9e11237ded3699..68d3fd7384498b6cffdc953c6c5743c953fe49b9 100644 (file)
@@ -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)