summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2010-10-12 09:39:45 +0200
committerWolfgang Denk <wd@denx.de>2010-10-13 21:59:31 +0200
commit1a2d9b30e31e2b7ed0acb64bfb2290911e3c9efb (patch)
tree99bbf7feeedc5135ea9dd31e26ee829aa5217ca7 /common
parent4bbfd3e279d70afc89456048e024e6b923c9d325 (diff)
downloadu-boot-imx-1a2d9b30e31e2b7ed0acb64bfb2290911e3c9efb.zip
u-boot-imx-1a2d9b30e31e2b7ed0acb64bfb2290911e3c9efb.tar.gz
u-boot-imx-1a2d9b30e31e2b7ed0acb64bfb2290911e3c9efb.tar.bz2
ns16550: Add WATCHDOG_RESET to putc for short watchdog timeout boards
Call watchdog_reset() upon newline. This is done here in putc since the environment code uses a single puts() to print the complete envrironment upon "printenv". So we can't put this watchdog call in puts(). This is needed for boards with a very short watchdog timeout, like the lwmon5 with a 100ms timeout. Without this patch this board resets in the commands with long outputs, like "printenv" or "fdt print". Note that the image size is not increased with this patch when CONFIG_HW_WATCHDOG or CONFIG_WATCHDOG are not defined since the compiler optimizes this additional code away. Signed-off-by: Stefan Roese <sr@denx.de> Fix typo in comment. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions