diff options
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk/src/up_ssp.c')
-rwxr-xr-x | nuttx/configs/olimex-lpc1766stk/src/up_ssp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c b/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c index be5b81222..f423b2a35 100755 --- a/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c +++ b/nuttx/configs/olimex-lpc1766stk/src/up_ssp.c @@ -118,6 +118,13 @@ void weak_function lpc17_sspinitialize(void) #ifdef CONFIG_LPC17_SSP1
ssp_dumpssp0gpio("BEFORE SSP1 Initialization");
lpc17_configgpio(LPC1766STK_MMC_CS);
+
+ /* Also configure the SD/MMC power GPIO (but leave power off). This really has
+ * nothing to do with SSP, but does belong with other SD/MMC GPIO configuration
+ * settings.
+ */
+
+ lpc17_configgpio(LPC1766STK_MMC_PWR);
ssp_dumpssp0gpio("AFTER SSP1 Initialization");
#endif
}
|