as it touches
common/console.c, the macro WATCHDOG_RESET expands to {} if watchdog
support isn't configured. Hence, there's no harm caused and no need to
surround it by #ifdef in this case.
Andreas J. Reichel (1):
watchdog: Fix Watchdog Reset while in U-Boot Prompt
common/console.c
onsole_tstc.
Note: Macro expands to {} if not configured, so no #ifdef is needed.
* Comment:
Signed-off-by: Christian Storm
Signed-off-by: Jan Kiszka
Signed-off-by: Andreas J. Reichel
---
common/console.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/console.c b/common/c
surround it by #ifdef in this
case.
Changes in v2:
- Move WATCHDOG_RESET() call from common/console.c to
drivers/serial/serial-uclass.c.
Andreas J. Reichel (1):
watchdog: Fix Watchdog Reset while in U-Boot Prompt
drivers/serial/serial-uclass.c | 1 +
1 file changed, 1 insertio
rial_tstc. Thus, dev->tstc(dev) calls serial_tstc()
which in turn calls _serial_tstc().
Hence, _serial_tstc() needs to call WATCHDOG_RESET() to periodically
reset the watchdog while cli_readline waits for user input.
Signed-off-by: Christian Storm
Signed-off-by: Jan Kiszka
Signed-off-by: Andr
4 matches
Mail list logo