summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-02-20 14:34:38 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-02-26 20:21:01 +0100
commit9b1017b55436ea35e59b47e4e7e25aed0617b70d (patch)
tree771a7ebc10a3938463cf2293be4ced0471ef4e54
parent4b53dbdf897849dee306fbe44ab1b6fbb56e4454 (diff)
Disable watchdog only for compal_e99nuttx-bb
Without that fix some phones compatible with compal_e88, like the Motorola W220 don't print the "NuttShell (NSH)" initial message. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
-rw-r--r--nuttx/arch/arm/src/calypso/calypso_heap.c4
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 d35a76f0d2..7ae04908c2 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);