[nuttx-bb][PATCH 3/3] Disable watchdog only for compal_e99
Denis 'GNUtoo' Carikli
GNUtoo at no-log.org
Sat Feb 25 21:34:43 CET 2012
Without that fix some compal_e88 phones like the Motorola W220 don't print
the "NuttShell (NSH)" initial message.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
nuttx/arch/arm/src/calypso/calypso_heap.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/nuttx/arch/arm/src/calypso/calypso_heap.c b/nuttx/arch/arm/src/calypso/calypso_heap.c
index d35a76f..7ae0490 100644
--- a/nuttx/arch/arm/src/calypso/calypso_heap.c
+++ b/nuttx/arch/arm/src/calypso/calypso_heap.c
@@ -60,9 +60,11 @@
void up_addregion(void)
{
+#ifdef CONFIG_ARCH_BOARD_COMPALE99
/* Disable watchdog in first non-common function */
wdog_enable(0);
-
+#endif
+
// XXX: change to initialization of extern memory with save defaults
/* Configure memory interface */
calypso_mem_cfg(CALYPSO_nCS0, 3, CALYPSO_MEM_16bit, 1);
--
1.7.4.1
More information about the baseband-devel
mailing list