summaryrefslogtreecommitdiff
path: root/nuttx/configs/twr-k60n512
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-22 15:42:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-22 15:42:10 +0000
commitfd891fceaf3c9852a361c70705d44e1ba7c4a38e (patch)
tree77b99409525c8dff5bb51edd1135042485f2fa74 /nuttx/configs/twr-k60n512
parent75ae6a7cb1ffba04cd6c697cbc8679c0fc80b943 (diff)
downloadpx4-nuttx-fd891fceaf3c9852a361c70705d44e1ba7c4a38e.tar.gz
px4-nuttx-fd891fceaf3c9852a361c70705d44e1ba7c4a38e.tar.bz2
px4-nuttx-fd891fceaf3c9852a361c70705d44e1ba7c4a38e.zip
Progress with Kinetis SDHC driver (more to to)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3904 42af7a65-404d-4744-a932-0658087f49c3
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) */