Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/amlogic amlogic_reset: increase terminal_cou...
details: https://anonhg.NetBSD.org/src/rev/00afd7f9ebca
branches: trunk
changeset: 806775:00afd7f9ebca
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Mar 08 11:22:05 2015 +0000
description:
amlogic_reset: increase terminal_count to give uart sufficient time to flush any pending bytes before rebooting
diffstat:
sys/arch/evbarm/amlogic/amlogic_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2512a83335ea -r 00afd7f9ebca sys/arch/evbarm/amlogic/amlogic_machdep.c
--- a/sys/arch/evbarm/amlogic/amlogic_machdep.c Sun Mar 08 06:46:51 2015 +0000
+++ b/sys/arch/evbarm/amlogic/amlogic_machdep.c Sun Mar 08 11:22:05 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amlogic_machdep.c,v 1.14 2015/03/05 23:44:30 jmcneill Exp $ */
+/* $NetBSD: amlogic_machdep.c,v 1.15 2015/03/08 11:22:05 jmcneill Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amlogic_machdep.c,v 1.14 2015/03/05 23:44:30 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amlogic_machdep.c,v 1.15 2015/03/08 11:22:05 jmcneill Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -485,7 +485,7 @@
bus_size_t off = AMLOGIC_CBUS_OFFSET;
bus_space_write_4(bst, bsh, off + WATCHDOG_TC_REG,
- WATCHDOG_TC_CPUS | WATCHDOG_TC_ENABLE | 1);
+ WATCHDOG_TC_CPUS | WATCHDOG_TC_ENABLE | 0xfff);
bus_space_write_4(bst, bsh, off + WATCHDOG_RESET_REG, 0);
for (;;) {
Home |
Main Index |
Thread Index |
Old Index