summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-24 18:57:38 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-24 18:57:38 +0000
commit20119ce3834a33b5b7ebac6e2dc32d1983686938 (patch)
tree9e0cdccc2a0cf0e4109476c31cffba962f7a4df9 /nuttx/arch/arm
parent3a9970e4b125c4a629d957d35ca67f662c69ff00 (diff)
downloadpx4-nuttx-20119ce3834a33b5b7ebac6e2dc32d1983686938.tar.gz
px4-nuttx-20119ce3834a33b5b7ebac6e2dc32d1983686938.tar.bz2
px4-nuttx-20119ce3834a33b5b7ebac6e2dc32d1983686938.zip
Corrections for SD card on Shenzhou board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5183 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_idle.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_idle.c b/nuttx/arch/arm/src/stm32/stm32_idle.c
index 0b69ff648..83a6808c5 100644
--- a/nuttx/arch/arm/src/stm32/stm32_idle.c
+++ b/nuttx/arch/arm/src/stm32/stm32_idle.c
@@ -195,8 +195,10 @@ void up_idle(void)
* Enable DMA1 or DMA2 clocks in the RCC_AHBENR register before
* executing the WFI/WFE instruction."
*
- * Here the workaround is just don't go into SLEEP mode for the connectivity
- * line parts if Ethernet is enabled.
+ * Here the workaround is just to avoid SLEEP mode for the connectivity
+ * line parts if Ethernet is enabled. The errate recommends a more
+ * general solution: Enabling DMA1/2 clocking in stm32f10xx_rcc.c if the
+ * STM32107 Ethernet peripheral is enabled.
*/
#if !defined(CONFIG_STM32_CONNECTIVITYLINE) || !defined(CONFIG_STM32_ETHMAC)