]> git.sur5r.net Git - u-boot/commitdiff
arm, spl: add watchdog library to SPL
authorHeiko Schocher <hs@denx.de>
Mon, 19 Aug 2013 14:38:58 +0000 (16:38 +0200)
committerTom Rini <trini@ti.com>
Wed, 28 Aug 2013 15:44:59 +0000 (11:44 -0400)
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
doc/README.SPL
spl/Makefile

index ac9a2137c8b5569be1da310f032757faaf89c85d..312a6a612e694716e751dcca4bc3454c7c38ff2e 100644 (file)
@@ -67,7 +67,7 @@ CONFIG_SPL_POST_MEM_SUPPORT (post/drivers/memory.o)
 CONFIG_SPL_NAND_LOAD (drivers/mtd/nand/nand_spl_load.o)
 CONFIG_SPL_SPI_LOAD (drivers/mtd/spi/spi_spl_load.o)
 CONFIG_SPL_RAM_DEVICE (common/spl/spl.c)
-
+CONFIG_SPL_WATCHDOG_SUPPORT (drivers/watchdog/libwatchdog.o)
 
 Normally CPU is assumed to be the same between the SPL and normal
 u-boot build.  However it is possible to specify a different CPU for
index 28ebc96060f8b6b6709b4b55b16a1b641c79b887..003558c74a91ea5ade6883be84d9db5d7dc87a9a 100644 (file)
@@ -82,6 +82,7 @@ LIBS-$(CONFIG_SPL_ETH_SUPPORT) += drivers/net/libnet.o
 LIBS-$(CONFIG_SPL_ETH_SUPPORT) += drivers/net/phy/libphy.o
 LIBS-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += drivers/usb/musb-new/libusb_musb-new.o
 LIBS-$(CONFIG_SPL_USBETH_SUPPORT) += drivers/usb/gadget/libusb_gadget.o
+LIBS-$(CONFIG_SPL_WATCHDOG_SUPPORT) += drivers/watchdog/libwatchdog.o
 
 ifneq ($(CONFIG_OMAP_COMMON),)
 LIBS-y += $(CPUDIR)/omap-common/libomap-common.o