summaryrefslogtreecommitdiff
path: root/nuttx/configs/twr-k60n512
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/twr-k60n512')
-rw-r--r--nuttx/configs/twr-k60n512/src/twrk60-internal.h1
-rw-r--r--nuttx/configs/twr-k60n512/src/up_nsh.c7
2 files changed, 1 insertions, 7 deletions
diff --git a/nuttx/configs/twr-k60n512/src/twrk60-internal.h b/nuttx/configs/twr-k60n512/src/twrk60-internal.h
index eb4555b57..df60daae4 100644
--- a/nuttx/configs/twr-k60n512/src/twrk60-internal.h
+++ b/nuttx/configs/twr-k60n512/src/twrk60-internal.h
@@ -111,7 +111,6 @@
#define GPIO_SD_CARDDETECT (GPIO_PULLUP | PIN_INT_BOTH | PIN_PORTE | PIN28)
#define GPIO_SD_WRPROTECT (GPIO_PULLUP | PIN_PORTE | PIN27)
-#define GPIO_SD_CARDON (GPIO_HIGHDRIVE | GPIO_OUTPUT_ZER0 | PIN_PORTE | PIN6)
#define GPIO_SW1 (GPIO_PULLUP | PIN_INT_BOTH | PIN_PORTA | PIN19)
#define GPIO_SW2 (GPIO_PULLUP | PIN_INT_BOTH | PIN_PORTE | PIN26)
diff --git a/nuttx/configs/twr-k60n512/src/up_nsh.c b/nuttx/configs/twr-k60n512/src/up_nsh.c
index 1fc959cf9..4feaed506 100644
--- a/nuttx/configs/twr-k60n512/src/up_nsh.c
+++ b/nuttx/configs/twr-k60n512/src/up_nsh.c
@@ -216,12 +216,7 @@ int nsh_archinitialize(void)
#ifdef CONFIG_NSH_HAVEMMCSD
int ret;
- /* Configure GPIO pins.
- *
- * First CD power. The initial state will provide SD power.
- */
-
- kinetis_pinconfig(GPIO_SD_CARDON); /* Applies power to the card */
+ /* Configure GPIO pins */
/* Attached the card detect interrupt (but don't enable it yet) */