[PATCH 02/15] wd: Provide default value for watchdog timeout

Sascha Hauer s.hauer at pengutronix.de
Fri Oct 26 02:58:55 EDT 2012


Otherwise barebox can't be built if the user did not specify a value.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 commands/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/commands/Kconfig b/commands/Kconfig
index e934f29..16706d3 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -640,6 +640,7 @@ if CMD_WD
 
 config CMD_WD_DEFAULT_TIMOUT
 	int
+	default 0
 	prompt "default timeout"
 	help
 	  Define the default timeout value in [seconds] if the first call of
-- 
1.7.10.4




More information about the barebox mailing list