summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-06 14:57:01 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-06 14:57:01 +0000
commit7255c5059df9df0082bea450d6cf379ede2ac2d0 (patch)
treefa7c3ed0efb7ac7776edda9b1792a402e9ae827d
parent119a414f4b6ab45cb76ce1ed2704a56ad5ca639c (diff)
downloadnuttx-7255c5059df9df0082bea450d6cf379ede2ac2d0.tar.gz
nuttx-7255c5059df9df0082bea450d6cf379ede2ac2d0.tar.bz2
nuttx-7255c5059df9df0082bea450d6cf379ede2ac2d0.zip
Patch to removed MMCSD NSLOTS warning from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5316 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/ChangeLog6
-rw-r--r--nuttx/configs/amber/hello/defconfig8
-rwxr-xr-xnuttx/configs/avr32dev1/nsh/defconfig8
-rwxr-xr-xnuttx/configs/avr32dev1/ostest/defconfig8
-rw-r--r--nuttx/configs/c5471evm/httpd/defconfig8
-rw-r--r--nuttx/configs/c5471evm/nettest/defconfig8
-rw-r--r--nuttx/configs/c5471evm/nsh/defconfig8
-rw-r--r--nuttx/configs/c5471evm/ostest/defconfig8
-rw-r--r--nuttx/configs/compal_e88/nsh_highram/defconfig8
-rw-r--r--nuttx/configs/compal_e99/nsh_compalram/defconfig8
-rw-r--r--nuttx/configs/compal_e99/nsh_highram/defconfig8
-rwxr-xr-xnuttx/configs/demo9s12ne64/ostest/defconfig8
-rw-r--r--nuttx/configs/ea3131/nsh/defconfig8
-rw-r--r--nuttx/configs/ea3131/ostest/defconfig8
-rw-r--r--nuttx/configs/ea3131/pgnsh/defconfig8
-rw-r--r--nuttx/configs/ea3131/usbserial/defconfig8
-rw-r--r--nuttx/configs/ea3131/usbstorage/defconfig8
-rw-r--r--nuttx/configs/ea3152/ostest/defconfig8
-rw-r--r--nuttx/configs/eagle100/httpd/defconfig8
-rw-r--r--nuttx/configs/eagle100/nettest/defconfig8
-rw-r--r--nuttx/configs/eagle100/nsh/defconfig8
-rw-r--r--nuttx/configs/eagle100/nxflat/defconfig8
-rw-r--r--nuttx/configs/eagle100/ostest/defconfig8
-rw-r--r--nuttx/configs/eagle100/thttpd/defconfig8
-rw-r--r--nuttx/configs/ekk-lm3s9b96/nsh/defconfig8
-rw-r--r--nuttx/configs/ekk-lm3s9b96/ostest/defconfig8
-rw-r--r--nuttx/configs/ez80f910200kitg/ostest/defconfig8
-rw-r--r--nuttx/configs/ez80f910200zco/dhcpd/defconfig8
-rw-r--r--nuttx/configs/ez80f910200zco/httpd/defconfig8
-rw-r--r--nuttx/configs/ez80f910200zco/nettest/defconfig8
-rw-r--r--nuttx/configs/ez80f910200zco/nsh/defconfig8
-rw-r--r--nuttx/configs/ez80f910200zco/ostest/defconfig8
-rw-r--r--nuttx/configs/ez80f910200zco/poll/defconfig8
-rw-r--r--nuttx/configs/hymini-stm32v/buttons/defconfig10
-rwxr-xr-xnuttx/configs/hymini-stm32v/nsh/defconfig10
-rw-r--r--nuttx/configs/hymini-stm32v/nsh2/defconfig10
-rw-r--r--nuttx/configs/hymini-stm32v/nx/defconfig10
-rw-r--r--nuttx/configs/hymini-stm32v/nxlines/defconfig10
-rwxr-xr-xnuttx/configs/hymini-stm32v/usbserial/defconfig10
-rwxr-xr-xnuttx/configs/hymini-stm32v/usbstorage/defconfig10
-rwxr-xr-xnuttx/configs/kwikstik-k40/ostest/defconfig8
-rw-r--r--nuttx/configs/lincoln60/nsh/defconfig8
-rw-r--r--nuttx/configs/lincoln60/ostest/defconfig8
-rw-r--r--nuttx/configs/lm3s6432-s2e/nsh/defconfig8
-rw-r--r--nuttx/configs/lm3s6432-s2e/ostest/defconfig8
-rwxr-xr-xnuttx/configs/lm3s6965-ek/nsh/defconfig8
-rwxr-xr-xnuttx/configs/lm3s6965-ek/nx/defconfig8
-rwxr-xr-xnuttx/configs/lm3s6965-ek/ostest/defconfig8
-rwxr-xr-xnuttx/configs/lm3s8962-ek/nsh/defconfig8
-rwxr-xr-xnuttx/configs/lm3s8962-ek/nx/defconfig8
-rwxr-xr-xnuttx/configs/lm3s8962-ek/ostest/defconfig8
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/defconfig8
-rw-r--r--nuttx/configs/lpc4330-xplorer/ostest/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/nsh/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/nx/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/ostest/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig8
-rwxr-xr-xnuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig8
-rw-r--r--nuttx/configs/m68332evb/defconfig8
-rw-r--r--nuttx/configs/mbed/hidkbd/defconfig8
-rwxr-xr-xnuttx/configs/mbed/nsh/defconfig8
-rw-r--r--nuttx/configs/mcu123-lpc214x/composite/defconfig8
-rw-r--r--nuttx/configs/mcu123-lpc214x/nsh/defconfig8
-rw-r--r--nuttx/configs/mcu123-lpc214x/ostest/defconfig8
-rw-r--r--nuttx/configs/mcu123-lpc214x/usbserial/defconfig8
-rw-r--r--nuttx/configs/mcu123-lpc214x/usbstorage/defconfig8
-rw-r--r--nuttx/configs/micropendous3/hello/defconfig8
-rw-r--r--nuttx/configs/mirtoo/nsh/defconfig8
-rw-r--r--nuttx/configs/mirtoo/nxffs/defconfig8
-rw-r--r--nuttx/configs/mirtoo/ostest/defconfig8
-rw-r--r--nuttx/configs/mx1ads/ostest/defconfig8
-rwxr-xr-xnuttx/configs/ne64badge/ostest/defconfig10
-rw-r--r--nuttx/configs/ntosd-dm320/nettest/defconfig8
-rw-r--r--nuttx/configs/ntosd-dm320/nsh/defconfig8
-rw-r--r--nuttx/configs/ntosd-dm320/ostest/defconfig8
-rw-r--r--nuttx/configs/ntosd-dm320/poll/defconfig8
-rw-r--r--nuttx/configs/ntosd-dm320/thttpd/defconfig8
-rw-r--r--nuttx/configs/ntosd-dm320/udp/defconfig8
-rw-r--r--nuttx/configs/ntosd-dm320/uip/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/nsh/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/ostest/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/usbserial/defconfig8
-rwxr-xr-xnuttx/configs/nucleus2g/usbstorage/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/ftpc/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/hidkbd/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nettest/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nsh/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nx/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/ostest/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/thttpd/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbserial/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbstorage/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/wlan/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc2378/nsh/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc2378/ostest/defconfig8
-rw-r--r--nuttx/configs/olimex-stm32-p107/nsh/defconfig10
-rw-r--r--nuttx/configs/olimex-stm32-p107/ostest/defconfig12
-rwxr-xr-xnuttx/configs/olimex-strp711/nettest/defconfig8
-rw-r--r--nuttx/configs/olimex-strp711/nsh/defconfig8
-rw-r--r--nuttx/configs/olimex-strp711/ostest/defconfig8
-rw-r--r--nuttx/configs/pcblogic-pic32mx/nsh/defconfig8
-rw-r--r--nuttx/configs/pcblogic-pic32mx/ostest/defconfig8
-rw-r--r--nuttx/configs/pic32-starterkit/nsh/defconfig8
-rw-r--r--nuttx/configs/pic32-starterkit/nsh2/defconfig8
-rw-r--r--nuttx/configs/pic32-starterkit/ostest/defconfig8
-rw-r--r--nuttx/configs/pic32mx7mmb/nsh/defconfig8
-rw-r--r--nuttx/configs/pic32mx7mmb/ostest/defconfig8
-rw-r--r--nuttx/configs/pjrc-8051/defconfig8
-rw-r--r--nuttx/configs/qemu-i486/nsh/defconfig8
-rw-r--r--nuttx/configs/qemu-i486/ostest/defconfig8
-rw-r--r--nuttx/configs/rgmp/arm/default/defconfig7
-rw-r--r--nuttx/configs/rgmp/arm/nsh/defconfig7
-rw-r--r--nuttx/configs/rgmp/x86/cxxtest/defconfig14
-rw-r--r--nuttx/configs/rgmp/x86/default/defconfig8
-rw-r--r--nuttx/configs/rgmp/x86/helloxx/defconfig14
-rw-r--r--nuttx/configs/rgmp/x86/nsh/defconfig7
-rwxr-xr-xnuttx/configs/sam3u-ek/knsh/defconfig8
-rwxr-xr-xnuttx/configs/sam3u-ek/nsh/defconfig8
-rwxr-xr-xnuttx/configs/sam3u-ek/nx/defconfig8
-rwxr-xr-xnuttx/configs/sam3u-ek/ostest/defconfig8
-rwxr-xr-xnuttx/configs/sam3u-ek/touchscreen/defconfig10
-rw-r--r--nuttx/configs/sim/mount/defconfig8
-rw-r--r--nuttx/configs/sim/nettest/defconfig8
-rw-r--r--nuttx/configs/sim/nsh/defconfig8
-rw-r--r--nuttx/configs/sim/nsh2/defconfig8
-rw-r--r--nuttx/configs/sim/nx/defconfig8
-rw-r--r--nuttx/configs/sim/nx11/defconfig8
-rw-r--r--nuttx/configs/sim/nxffs/defconfig8
-rw-r--r--nuttx/configs/sim/nxwm/defconfig8
-rw-r--r--nuttx/configs/sim/pashello/defconfig8
-rw-r--r--nuttx/configs/sim/touchscreen/defconfig8
-rw-r--r--nuttx/configs/skp16c26/ostest/defconfig8
-rwxr-xr-xnuttx/configs/stm3210e-eval/RIDE/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/buttons/defconfig8
-rwxr-xr-xnuttx/configs/stm3210e-eval/composite/defconfig8
-rwxr-xr-xnuttx/configs/stm3210e-eval/nsh/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/nsh2/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/nx/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/nxconsole/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/nxlines/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/nxtext/defconfig8
-rwxr-xr-xnuttx/configs/stm3210e-eval/ostest/defconfig8
-rw-r--r--nuttx/configs/stm3210e-eval/pm/defconfig8
-rwxr-xr-xnuttx/configs/stm3210e-eval/usbserial/defconfig8
-rwxr-xr-xnuttx/configs/stm3210e-eval/usbstorage/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/dhcpd/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/nettest/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/nsh/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/nsh2/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/nxwm/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/ostest/defconfig8
-rw-r--r--nuttx/configs/stm3220g-eval/telnetd/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/dhcpd/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/nettest/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/nsh/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/nsh2/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/nxconsole/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/nxwm/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/ostest/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/telnetd/defconfig8
-rw-r--r--nuttx/configs/stm3240g-eval/webserver/defconfig8
-rw-r--r--nuttx/configs/stm32f4discovery/nsh/defconfig8
-rw-r--r--nuttx/configs/stm32f4discovery/nxlines/defconfig8
-rw-r--r--nuttx/configs/stm32f4discovery/pm/defconfig8
-rw-r--r--nuttx/configs/sure-pic32mx/nsh/defconfig8
-rw-r--r--nuttx/configs/sure-pic32mx/ostest/defconfig8
-rw-r--r--nuttx/configs/sure-pic32mx/usbnsh/defconfig8
-rw-r--r--nuttx/configs/teensy/hello/defconfig8
-rwxr-xr-xnuttx/configs/teensy/nsh/defconfig8
-rwxr-xr-xnuttx/configs/teensy/usbstorage/defconfig8
-rw-r--r--nuttx/configs/twr-k60n512/nsh/defconfig8
-rw-r--r--nuttx/configs/twr-k60n512/ostest/defconfig8
-rw-r--r--nuttx/configs/ubw32/nsh/defconfig8
-rw-r--r--nuttx/configs/ubw32/ostest/defconfig8
-rw-r--r--nuttx/configs/us7032evb1/nsh/defconfig8
-rw-r--r--nuttx/configs/us7032evb1/ostest/defconfig8
-rwxr-xr-xnuttx/configs/vsn/nsh/defconfig8
-rw-r--r--nuttx/configs/xtrs/nsh/defconfig8
-rw-r--r--nuttx/configs/xtrs/ostest/defconfig8
-rw-r--r--nuttx/configs/xtrs/pashello/defconfig8
-rw-r--r--nuttx/configs/z16f2800100zcog/ostest/defconfig8
-rw-r--r--nuttx/configs/z16f2800100zcog/pashello/defconfig8
-rw-r--r--nuttx/configs/z80sim/nsh/defconfig8
-rw-r--r--nuttx/configs/z80sim/ostest/defconfig8
-rw-r--r--nuttx/configs/z80sim/pashello/defconfig8
-rw-r--r--nuttx/configs/z8encore000zco/ostest/defconfig8
-rw-r--r--nuttx/configs/z8f64200100kit/ostest/defconfig8
-rw-r--r--nuttx/drivers/mmcsd/Make.defs12
-rw-r--r--nuttx/drivers/mmcsd/mmcsd_sdio.c5
-rw-r--r--nuttx/drivers/mmcsd/mmcsd_spi.c5
192 files changed, 1546 insertions, 19 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index e131d26b2..8c19ca155 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -3571,3 +3571,9 @@
complete and verified for the STM32 platform.
6.24 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
+
+ * arch/arm/src/stm32: Support for STM32F100 high density chips
+ added by Freddie Chopin.
+ * configs/stm32f100_generic: Support for generic STM32F100RC board
+ contributed by Freddie Chopin.
+
diff --git a/nuttx/configs/amber/hello/defconfig b/nuttx/configs/amber/hello/defconfig
index 243927910..5d028e321 100644
--- a/nuttx/configs/amber/hello/defconfig
+++ b/nuttx/configs/amber/hello/defconfig
@@ -221,6 +221,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/avr32dev1/nsh/defconfig b/nuttx/configs/avr32dev1/nsh/defconfig
index 3ca2fac38..2b66316c3 100755
--- a/nuttx/configs/avr32dev1/nsh/defconfig
+++ b/nuttx/configs/avr32dev1/nsh/defconfig
@@ -240,6 +240,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/avr32dev1/ostest/defconfig b/nuttx/configs/avr32dev1/ostest/defconfig
index ed7280dc6..9b67be09e 100755
--- a/nuttx/configs/avr32dev1/ostest/defconfig
+++ b/nuttx/configs/avr32dev1/ostest/defconfig
@@ -240,6 +240,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/c5471evm/httpd/defconfig b/nuttx/configs/c5471evm/httpd/defconfig
index 52a0fc4bb..8f4bd6927 100644
--- a/nuttx/configs/c5471evm/httpd/defconfig
+++ b/nuttx/configs/c5471evm/httpd/defconfig
@@ -258,3 +258,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/c5471evm/nettest/defconfig b/nuttx/configs/c5471evm/nettest/defconfig
index 6da9fa522..71065fc66 100644
--- a/nuttx/configs/c5471evm/nettest/defconfig
+++ b/nuttx/configs/c5471evm/nettest/defconfig
@@ -258,3 +258,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/c5471evm/nsh/defconfig b/nuttx/configs/c5471evm/nsh/defconfig
index 6b583d31a..3750f9e5d 100644
--- a/nuttx/configs/c5471evm/nsh/defconfig
+++ b/nuttx/configs/c5471evm/nsh/defconfig
@@ -258,3 +258,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/c5471evm/ostest/defconfig b/nuttx/configs/c5471evm/ostest/defconfig
index 04ac9677f..f4d7b8c36 100644
--- a/nuttx/configs/c5471evm/ostest/defconfig
+++ b/nuttx/configs/c5471evm/ostest/defconfig
@@ -258,3 +258,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/compal_e88/nsh_highram/defconfig b/nuttx/configs/compal_e88/nsh_highram/defconfig
index b429af696..d67674f4e 100644
--- a/nuttx/configs/compal_e88/nsh_highram/defconfig
+++ b/nuttx/configs/compal_e88/nsh_highram/defconfig
@@ -277,3 +277,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/compal_e99/nsh_compalram/defconfig b/nuttx/configs/compal_e99/nsh_compalram/defconfig
index 52f99bf12..e8c53947b 100644
--- a/nuttx/configs/compal_e99/nsh_compalram/defconfig
+++ b/nuttx/configs/compal_e99/nsh_compalram/defconfig
@@ -279,3 +279,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/compal_e99/nsh_highram/defconfig b/nuttx/configs/compal_e99/nsh_highram/defconfig
index b1539c98c..c98645478 100644
--- a/nuttx/configs/compal_e99/nsh_highram/defconfig
+++ b/nuttx/configs/compal_e99/nsh_highram/defconfig
@@ -323,3 +323,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/demo9s12ne64/ostest/defconfig b/nuttx/configs/demo9s12ne64/ostest/defconfig
index 5033d8201..9c9668aac 100755
--- a/nuttx/configs/demo9s12ne64/ostest/defconfig
+++ b/nuttx/configs/demo9s12ne64/ostest/defconfig
@@ -214,6 +214,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ea3131/nsh/defconfig b/nuttx/configs/ea3131/nsh/defconfig
index c97f521a5..735af431b 100644
--- a/nuttx/configs/ea3131/nsh/defconfig
+++ b/nuttx/configs/ea3131/nsh/defconfig
@@ -219,6 +219,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=n
diff --git a/nuttx/configs/ea3131/ostest/defconfig b/nuttx/configs/ea3131/ostest/defconfig
index c66ee51a4..2f73ad5c9 100644
--- a/nuttx/configs/ea3131/ostest/defconfig
+++ b/nuttx/configs/ea3131/ostest/defconfig
@@ -219,6 +219,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=n
diff --git a/nuttx/configs/ea3131/pgnsh/defconfig b/nuttx/configs/ea3131/pgnsh/defconfig
index c9e096358..32f89c500 100644
--- a/nuttx/configs/ea3131/pgnsh/defconfig
+++ b/nuttx/configs/ea3131/pgnsh/defconfig
@@ -262,6 +262,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=n
diff --git a/nuttx/configs/ea3131/usbserial/defconfig b/nuttx/configs/ea3131/usbserial/defconfig
index 1e8f5cf94..3d33a1b67 100644
--- a/nuttx/configs/ea3131/usbserial/defconfig
+++ b/nuttx/configs/ea3131/usbserial/defconfig
@@ -222,6 +222,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=n
diff --git a/nuttx/configs/ea3131/usbstorage/defconfig b/nuttx/configs/ea3131/usbstorage/defconfig
index d8088b5df..8d9933f55 100644
--- a/nuttx/configs/ea3131/usbstorage/defconfig
+++ b/nuttx/configs/ea3131/usbstorage/defconfig
@@ -223,6 +223,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=n
diff --git a/nuttx/configs/ea3152/ostest/defconfig b/nuttx/configs/ea3152/ostest/defconfig
index 34cf49dfb..d85fd5821 100644
--- a/nuttx/configs/ea3152/ostest/defconfig
+++ b/nuttx/configs/ea3152/ostest/defconfig
@@ -220,6 +220,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=n
diff --git a/nuttx/configs/eagle100/httpd/defconfig b/nuttx/configs/eagle100/httpd/defconfig
index 7916569bc..6d4ee61a2 100644
--- a/nuttx/configs/eagle100/httpd/defconfig
+++ b/nuttx/configs/eagle100/httpd/defconfig
@@ -214,6 +214,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/eagle100/nettest/defconfig b/nuttx/configs/eagle100/nettest/defconfig
index 6f4795386..4956d0875 100644
--- a/nuttx/configs/eagle100/nettest/defconfig
+++ b/nuttx/configs/eagle100/nettest/defconfig
@@ -214,6 +214,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/eagle100/nsh/defconfig b/nuttx/configs/eagle100/nsh/defconfig
index b50413db0..7f6bd1f54 100644
--- a/nuttx/configs/eagle100/nsh/defconfig
+++ b/nuttx/configs/eagle100/nsh/defconfig
@@ -216,6 +216,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/eagle100/nxflat/defconfig b/nuttx/configs/eagle100/nxflat/defconfig
index 98029ddd8..a4760eae5 100644
--- a/nuttx/configs/eagle100/nxflat/defconfig
+++ b/nuttx/configs/eagle100/nxflat/defconfig
@@ -220,6 +220,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/eagle100/ostest/defconfig b/nuttx/configs/eagle100/ostest/defconfig
index f3634aa55..4b98e25e0 100644
--- a/nuttx/configs/eagle100/ostest/defconfig
+++ b/nuttx/configs/eagle100/ostest/defconfig
@@ -214,6 +214,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/eagle100/thttpd/defconfig b/nuttx/configs/eagle100/thttpd/defconfig
index d68d51acf..5af32d202 100644
--- a/nuttx/configs/eagle100/thttpd/defconfig
+++ b/nuttx/configs/eagle100/thttpd/defconfig
@@ -221,6 +221,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig
index 2a1a0552d..8047a23da 100644
--- a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig
+++ b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig
@@ -233,6 +233,14 @@ CONFIG_FS_ROMFS=n
CONFIG_NFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig
index c465cb8b7..6ce065ca8 100644
--- a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig
+++ b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig
@@ -232,6 +232,14 @@ CONFIG_FS_ROMFS=n
CONFIG_NFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/ez80f910200kitg/ostest/defconfig b/nuttx/configs/ez80f910200kitg/ostest/defconfig
index 9ceb261b2..3039eec6c 100644
--- a/nuttx/configs/ez80f910200kitg/ostest/defconfig
+++ b/nuttx/configs/ez80f910200kitg/ostest/defconfig
@@ -200,6 +200,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ez80f910200zco/dhcpd/defconfig b/nuttx/configs/ez80f910200zco/dhcpd/defconfig
index a20e86a45..329ff2824 100644
--- a/nuttx/configs/ez80f910200zco/dhcpd/defconfig
+++ b/nuttx/configs/ez80f910200zco/dhcpd/defconfig
@@ -204,6 +204,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ez80f910200zco/httpd/defconfig b/nuttx/configs/ez80f910200zco/httpd/defconfig
index cccecf2bf..1feeafd58 100644
--- a/nuttx/configs/ez80f910200zco/httpd/defconfig
+++ b/nuttx/configs/ez80f910200zco/httpd/defconfig
@@ -204,6 +204,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ez80f910200zco/nettest/defconfig b/nuttx/configs/ez80f910200zco/nettest/defconfig
index e018164b0..1ba356095 100644
--- a/nuttx/configs/ez80f910200zco/nettest/defconfig
+++ b/nuttx/configs/ez80f910200zco/nettest/defconfig
@@ -204,6 +204,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ez80f910200zco/nsh/defconfig b/nuttx/configs/ez80f910200zco/nsh/defconfig
index 34fbe603d..73de6b096 100644
--- a/nuttx/configs/ez80f910200zco/nsh/defconfig
+++ b/nuttx/configs/ez80f910200zco/nsh/defconfig
@@ -204,6 +204,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ez80f910200zco/ostest/defconfig b/nuttx/configs/ez80f910200zco/ostest/defconfig
index 1954b7a5d..bf306e38d 100644
--- a/nuttx/configs/ez80f910200zco/ostest/defconfig
+++ b/nuttx/configs/ez80f910200zco/ostest/defconfig
@@ -202,6 +202,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ez80f910200zco/poll/defconfig b/nuttx/configs/ez80f910200zco/poll/defconfig
index a98526466..0d7d765cf 100644
--- a/nuttx/configs/ez80f910200zco/poll/defconfig
+++ b/nuttx/configs/ez80f910200zco/poll/defconfig
@@ -204,6 +204,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/hymini-stm32v/buttons/defconfig b/nuttx/configs/hymini-stm32v/buttons/defconfig
index 8ee2c1d76..bbd6c2319 100644
--- a/nuttx/configs/hymini-stm32v/buttons/defconfig
+++ b/nuttx/configs/hymini-stm32v/buttons/defconfig
@@ -68,7 +68,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
#
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=n
CONFIG_STM32_CRC=n
@@ -271,6 +271,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/hymini-stm32v/nsh/defconfig b/nuttx/configs/hymini-stm32v/nsh/defconfig
index f18194bce..ca589278a 100755
--- a/nuttx/configs/hymini-stm32v/nsh/defconfig
+++ b/nuttx/configs/hymini-stm32v/nsh/defconfig
@@ -66,7 +66,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=y
CONFIG_STM32_CRC=n
@@ -268,6 +268,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/hymini-stm32v/nsh2/defconfig b/nuttx/configs/hymini-stm32v/nsh2/defconfig
index b11895c9b..5091843ad 100644
--- a/nuttx/configs/hymini-stm32v/nsh2/defconfig
+++ b/nuttx/configs/hymini-stm32v/nsh2/defconfig
@@ -67,7 +67,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=y
CONFIG_STM32_CRC=n
@@ -302,6 +302,14 @@ CONFIG_FS_READAHEAD=n
CONFIG_FS_WRITEBUFFER=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# STM32 SDIO-based MMC/SD driver
#
CONFIG_SDIO_DMA=y
diff --git a/nuttx/configs/hymini-stm32v/nx/defconfig b/nuttx/configs/hymini-stm32v/nx/defconfig
index b46c68e29..f4beaf7d5 100644
--- a/nuttx/configs/hymini-stm32v/nx/defconfig
+++ b/nuttx/configs/hymini-stm32v/nx/defconfig
@@ -66,7 +66,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=y
CONFIG_STM32_CRC=n
@@ -285,6 +285,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/hymini-stm32v/nxlines/defconfig b/nuttx/configs/hymini-stm32v/nxlines/defconfig
index 863e7a327..89f72e330 100644
--- a/nuttx/configs/hymini-stm32v/nxlines/defconfig
+++ b/nuttx/configs/hymini-stm32v/nxlines/defconfig
@@ -67,7 +67,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=y
CONFIG_STM32_CRC=n
@@ -289,6 +289,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/hymini-stm32v/usbserial/defconfig b/nuttx/configs/hymini-stm32v/usbserial/defconfig
index a6ed06dee..732c1e8b6 100755
--- a/nuttx/configs/hymini-stm32v/usbserial/defconfig
+++ b/nuttx/configs/hymini-stm32v/usbserial/defconfig
@@ -68,7 +68,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
#
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=n
CONFIG_STM32_CRC=n
@@ -271,6 +271,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/hymini-stm32v/usbstorage/defconfig b/nuttx/configs/hymini-stm32v/usbstorage/defconfig
index 7d75577fe..7e49de0e8 100755
--- a/nuttx/configs/hymini-stm32v/usbstorage/defconfig
+++ b/nuttx/configs/hymini-stm32v/usbstorage/defconfig
@@ -67,7 +67,7 @@ CONFIG_STM32_DFU=n
#
# Individual subsystems can be enabled:
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=y
CONFIG_STM32_CRC=n
@@ -278,6 +278,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/kwikstik-k40/ostest/defconfig b/nuttx/configs/kwikstik-k40/ostest/defconfig
index a811ee063..759cff20b 100755
--- a/nuttx/configs/kwikstik-k40/ostest/defconfig
+++ b/nuttx/configs/kwikstik-k40/ostest/defconfig
@@ -280,6 +280,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lincoln60/nsh/defconfig b/nuttx/configs/lincoln60/nsh/defconfig
index bb08a7dec..e5009f8d6 100644
--- a/nuttx/configs/lincoln60/nsh/defconfig
+++ b/nuttx/configs/lincoln60/nsh/defconfig
@@ -253,6 +253,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lincoln60/ostest/defconfig b/nuttx/configs/lincoln60/ostest/defconfig
index 0576d018f..986f9bf43 100644
--- a/nuttx/configs/lincoln60/ostest/defconfig
+++ b/nuttx/configs/lincoln60/ostest/defconfig
@@ -263,6 +263,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lm3s6432-s2e/nsh/defconfig b/nuttx/configs/lm3s6432-s2e/nsh/defconfig
index d203b2954..9aa8f1db3 100644
--- a/nuttx/configs/lm3s6432-s2e/nsh/defconfig
+++ b/nuttx/configs/lm3s6432-s2e/nsh/defconfig
@@ -231,6 +231,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/lm3s6432-s2e/ostest/defconfig b/nuttx/configs/lm3s6432-s2e/ostest/defconfig
index 02b7dbd31..299cef48c 100644
--- a/nuttx/configs/lm3s6432-s2e/ostest/defconfig
+++ b/nuttx/configs/lm3s6432-s2e/ostest/defconfig
@@ -230,6 +230,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/lm3s6965-ek/nsh/defconfig b/nuttx/configs/lm3s6965-ek/nsh/defconfig
index 5afac6e6f..d10ad9db9 100755
--- a/nuttx/configs/lm3s6965-ek/nsh/defconfig
+++ b/nuttx/configs/lm3s6965-ek/nsh/defconfig
@@ -233,6 +233,14 @@ CONFIG_FS_ROMFS=n
CONFIG_NFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lm3s6965-ek/nx/defconfig b/nuttx/configs/lm3s6965-ek/nx/defconfig
index b6cb0cad5..10d10f705 100755
--- a/nuttx/configs/lm3s6965-ek/nx/defconfig
+++ b/nuttx/configs/lm3s6965-ek/nx/defconfig
@@ -246,6 +246,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lm3s6965-ek/ostest/defconfig b/nuttx/configs/lm3s6965-ek/ostest/defconfig
index da35e5531..e638ac3c7 100755
--- a/nuttx/configs/lm3s6965-ek/ostest/defconfig
+++ b/nuttx/configs/lm3s6965-ek/ostest/defconfig
@@ -231,6 +231,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lm3s8962-ek/nsh/defconfig b/nuttx/configs/lm3s8962-ek/nsh/defconfig
index 2a80e84e7..769c5d8e9 100755
--- a/nuttx/configs/lm3s8962-ek/nsh/defconfig
+++ b/nuttx/configs/lm3s8962-ek/nsh/defconfig
@@ -231,6 +231,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lm3s8962-ek/nx/defconfig b/nuttx/configs/lm3s8962-ek/nx/defconfig
index 51063f755..653bdc483 100755
--- a/nuttx/configs/lm3s8962-ek/nx/defconfig
+++ b/nuttx/configs/lm3s8962-ek/nx/defconfig
@@ -245,6 +245,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lm3s8962-ek/ostest/defconfig b/nuttx/configs/lm3s8962-ek/ostest/defconfig
index c540b1d7f..ce1ed1a1d 100755
--- a/nuttx/configs/lm3s8962-ek/ostest/defconfig
+++ b/nuttx/configs/lm3s8962-ek/ostest/defconfig
@@ -230,6 +230,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
index a97b9f789..0afcbae89 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
@@ -324,6 +324,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
index cddf7d0e8..76d3f11e9 100644
--- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
@@ -321,6 +321,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
index 92aa13f7b..f56dfca1b 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
@@ -265,6 +265,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
index 0e149e186..ef70b5508 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
@@ -261,6 +261,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
index 88a2cd7a2..a0d3cd283 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
@@ -278,6 +278,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
index 1fa3e79bc..660bd6c8b 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
@@ -263,6 +263,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
index 3d014d291..755869156 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
@@ -265,6 +265,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
index 8e51d5205..004d92cb3 100755
--- a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
@@ -259,6 +259,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/m68332evb/defconfig b/nuttx/configs/m68332evb/defconfig
index 39b3c7732..4c4020184 100644
--- a/nuttx/configs/m68332evb/defconfig
+++ b/nuttx/configs/m68332evb/defconfig
@@ -209,3 +209,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/mbed/hidkbd/defconfig b/nuttx/configs/mbed/hidkbd/defconfig
index 3c31b2f92..ba0af97ca 100644
--- a/nuttx/configs/mbed/hidkbd/defconfig
+++ b/nuttx/configs/mbed/hidkbd/defconfig
@@ -258,6 +258,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mbed/nsh/defconfig b/nuttx/configs/mbed/nsh/defconfig
index fca08b577..a1168dd19 100755
--- a/nuttx/configs/mbed/nsh/defconfig
+++ b/nuttx/configs/mbed/nsh/defconfig
@@ -253,6 +253,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mcu123-lpc214x/composite/defconfig b/nuttx/configs/mcu123-lpc214x/composite/defconfig
index 0599fed14..04fbe2b9e 100644
--- a/nuttx/configs/mcu123-lpc214x/composite/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/composite/defconfig
@@ -194,6 +194,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mcu123-lpc214x/nsh/defconfig b/nuttx/configs/mcu123-lpc214x/nsh/defconfig
index e2d37a938..a8a53a340 100644
--- a/nuttx/configs/mcu123-lpc214x/nsh/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/nsh/defconfig
@@ -192,6 +192,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mcu123-lpc214x/ostest/defconfig b/nuttx/configs/mcu123-lpc214x/ostest/defconfig
index 5fc7df5c7..9d59439be 100644
--- a/nuttx/configs/mcu123-lpc214x/ostest/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/ostest/defconfig
@@ -192,6 +192,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig
index c35d80486..3097f7d78 100644
--- a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig
@@ -192,6 +192,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
index a25f2e170..7b22bf6b0 100644
--- a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
+++ b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
@@ -194,6 +194,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/micropendous3/hello/defconfig b/nuttx/configs/micropendous3/hello/defconfig
index 63a8f249c..ea8faf8f5 100644
--- a/nuttx/configs/micropendous3/hello/defconfig
+++ b/nuttx/configs/micropendous3/hello/defconfig
@@ -216,6 +216,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mirtoo/nsh/defconfig b/nuttx/configs/mirtoo/nsh/defconfig
index 0883cc9ea..f2e2b8991 100644
--- a/nuttx/configs/mirtoo/nsh/defconfig
+++ b/nuttx/configs/mirtoo/nsh/defconfig
@@ -284,6 +284,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mirtoo/nxffs/defconfig b/nuttx/configs/mirtoo/nxffs/defconfig
index f2f5286e6..29de6f1e7 100644
--- a/nuttx/configs/mirtoo/nxffs/defconfig
+++ b/nuttx/configs/mirtoo/nxffs/defconfig
@@ -284,6 +284,14 @@ CONFIG_FS_NXFFS=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mirtoo/ostest/defconfig b/nuttx/configs/mirtoo/ostest/defconfig
index 77b3e38b8..dfe7a25c5 100644
--- a/nuttx/configs/mirtoo/ostest/defconfig
+++ b/nuttx/configs/mirtoo/ostest/defconfig
@@ -275,6 +275,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/mx1ads/ostest/defconfig b/nuttx/configs/mx1ads/ostest/defconfig
index 55b3c72b8..03d79e70a 100644
--- a/nuttx/configs/mx1ads/ostest/defconfig
+++ b/nuttx/configs/mx1ads/ostest/defconfig
@@ -321,3 +321,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ne64badge/ostest/defconfig b/nuttx/configs/ne64badge/ostest/defconfig
index c101aa01b..78e10f87c 100755
--- a/nuttx/configs/ne64badge/ostest/defconfig
+++ b/nuttx/configs/ne64badge/ostest/defconfig
@@ -55,7 +55,7 @@ CONFIG_ARCH_BUTTONS=n
CONFIG_ARCH_CALIBRATION=n
CONFIG_ARCH_DMA=n
-#
+#
CONFIG_GPIO_IRQ=n
CONFIG_HCS12_PORTG_INTS=n
CONFIG_HCS12_PORTH_INTS=n
@@ -220,6 +220,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ntosd-dm320/nettest/defconfig b/nuttx/configs/ntosd-dm320/nettest/defconfig
index 297df2173..dd2aff53c 100644
--- a/nuttx/configs/ntosd-dm320/nettest/defconfig
+++ b/nuttx/configs/ntosd-dm320/nettest/defconfig
@@ -317,3 +317,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ntosd-dm320/nsh/defconfig b/nuttx/configs/ntosd-dm320/nsh/defconfig
index 2b02c2d4e..98de53fe0 100644
--- a/nuttx/configs/ntosd-dm320/nsh/defconfig
+++ b/nuttx/configs/ntosd-dm320/nsh/defconfig
@@ -348,3 +348,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ntosd-dm320/ostest/defconfig b/nuttx/configs/ntosd-dm320/ostest/defconfig
index a9fca828a..5d606453b 100644
--- a/nuttx/configs/ntosd-dm320/ostest/defconfig
+++ b/nuttx/configs/ntosd-dm320/ostest/defconfig
@@ -313,3 +313,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ntosd-dm320/poll/defconfig b/nuttx/configs/ntosd-dm320/poll/defconfig
index 08f75e6b6..e43eccce5 100644
--- a/nuttx/configs/ntosd-dm320/poll/defconfig
+++ b/nuttx/configs/ntosd-dm320/poll/defconfig
@@ -324,3 +324,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ntosd-dm320/thttpd/defconfig b/nuttx/configs/ntosd-dm320/thttpd/defconfig
index d2de4c167..fbb6d644f 100644
--- a/nuttx/configs/ntosd-dm320/thttpd/defconfig
+++ b/nuttx/configs/ntosd-dm320/thttpd/defconfig
@@ -392,3 +392,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig
index de3b24056..5859279d0 100644
--- a/nuttx/configs/ntosd-dm320/udp/defconfig
+++ b/nuttx/configs/ntosd-dm320/udp/defconfig
@@ -325,3 +325,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/ntosd-dm320/uip/defconfig b/nuttx/configs/ntosd-dm320/uip/defconfig
index 281a63bd0..69387e7f6 100644
--- a/nuttx/configs/ntosd-dm320/uip/defconfig
+++ b/nuttx/configs/ntosd-dm320/uip/defconfig
@@ -325,3 +325,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/nucleus2g/nsh/defconfig b/nuttx/configs/nucleus2g/nsh/defconfig
index 5bc94e607..cc747e0c8 100755
--- a/nuttx/configs/nucleus2g/nsh/defconfig
+++ b/nuttx/configs/nucleus2g/nsh/defconfig
@@ -254,6 +254,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig
index 945e82a05..3d777de9c 100755
--- a/nuttx/configs/nucleus2g/ostest/defconfig
+++ b/nuttx/configs/nucleus2g/ostest/defconfig
@@ -253,6 +253,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/nucleus2g/usbserial/defconfig b/nuttx/configs/nucleus2g/usbserial/defconfig
index 25804407f..e5762e8bc 100755
--- a/nuttx/configs/nucleus2g/usbserial/defconfig
+++ b/nuttx/configs/nucleus2g/usbserial/defconfig
@@ -254,6 +254,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/nucleus2g/usbstorage/defconfig b/nuttx/configs/nucleus2g/usbstorage/defconfig
index cc677b9f4..88c54bccc 100755
--- a/nuttx/configs/nucleus2g/usbstorage/defconfig
+++ b/nuttx/configs/nucleus2g/usbstorage/defconfig
@@ -255,6 +255,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
index 7cf2e0e88..36c5eefc4 100755
--- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
@@ -276,6 +276,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
index ac94ecfb8..9a4c37fb4 100755
--- a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
@@ -268,6 +268,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig
index 7e662fb97..f89d265b0 100755
--- a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig
@@ -268,6 +268,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
index b12dd731a..0d82b458b 100755
--- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
@@ -280,6 +280,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/nx/defconfig b/nuttx/configs/olimex-lpc1766stk/nx/defconfig
index 0235c29b5..55c480fe3 100755
--- a/nuttx/configs/olimex-lpc1766stk/nx/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nx/defconfig
@@ -281,6 +281,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
index fcc2bba44..32e2cacc5 100755
--- a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
@@ -263,6 +263,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
index 94d5da763..ff2674c79 100755
--- a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
@@ -273,6 +273,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
index c14e1362b..936dba359 100755
--- a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
@@ -271,6 +271,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=y
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
index e1216d896..603a1562a 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
@@ -264,6 +264,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
index 2f91efe47..2c29d2ffd 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
@@ -265,6 +265,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
index aa896c30c..009191f65 100755
--- a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
@@ -260,6 +260,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc2378/nsh/defconfig b/nuttx/configs/olimex-lpc2378/nsh/defconfig
index 30801a6ab..fcddbaaca 100755
--- a/nuttx/configs/olimex-lpc2378/nsh/defconfig
+++ b/nuttx/configs/olimex-lpc2378/nsh/defconfig
@@ -209,6 +209,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-lpc2378/ostest/defconfig b/nuttx/configs/olimex-lpc2378/ostest/defconfig
index 129bb7fbe..b7216c7c4 100755
--- a/nuttx/configs/olimex-lpc2378/ostest/defconfig
+++ b/nuttx/configs/olimex-lpc2378/ostest/defconfig
@@ -209,6 +209,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/olimex-stm32-p107/nsh/defconfig b/nuttx/configs/olimex-stm32-p107/nsh/defconfig
index 9b9a72dcd..7aaae2514 100644
--- a/nuttx/configs/olimex-stm32-p107/nsh/defconfig
+++ b/nuttx/configs/olimex-stm32-p107/nsh/defconfig
@@ -81,7 +81,7 @@ CONFIG_STM32_SPI1_REMAP=n
CONFIG_STM32_SPI3_REMAP=n
CONFIG_STM32_I2C1_REMAP=n
CONFIG_STM32_CAN1_REMAP1=y
-CONFIG_STM32_CAN1_REMAP2=n
+CONFIG_STM32_CAN1_REMAP2=n
#
@@ -310,6 +310,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-stm32-p107/ostest/defconfig b/nuttx/configs/olimex-stm32-p107/ostest/defconfig
index 21aa07875..d4bba38fb 100644
--- a/nuttx/configs/olimex-stm32-p107/ostest/defconfig
+++ b/nuttx/configs/olimex-stm32-p107/ostest/defconfig
@@ -90,13 +90,13 @@ CONFIG_STM32_SPI1_REMAP=n
CONFIG_STM32_SPI3_REMAP=n
CONFIG_STM32_I2C1_REMAP=n
CONFIG_STM32_CAN1_REMAP1=y
-CONFIG_STM32_CAN1_REMAP2=n
+CONFIG_STM32_CAN1_REMAP2=n
#
# Individual subsystems can be enabled:
#
-# AHB:
+# AHB:
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=n
CONFIG_STM32_CRC=n
@@ -318,6 +318,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-strp711/nettest/defconfig b/nuttx/configs/olimex-strp711/nettest/defconfig
index eb8c91108..4d73540b8 100755
--- a/nuttx/configs/olimex-strp711/nettest/defconfig
+++ b/nuttx/configs/olimex-strp711/nettest/defconfig
@@ -243,6 +243,14 @@ CONFIG_ENC28J60_STATS=y
CONFIG_ENC28J60_HALFDUPPLEX=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-strp711/nsh/defconfig b/nuttx/configs/olimex-strp711/nsh/defconfig
index 2deb55640..b621945ed 100644
--- a/nuttx/configs/olimex-strp711/nsh/defconfig
+++ b/nuttx/configs/olimex-strp711/nsh/defconfig
@@ -226,6 +226,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/olimex-strp711/ostest/defconfig b/nuttx/configs/olimex-strp711/ostest/defconfig
index e60b7349f..02804cd67 100644
--- a/nuttx/configs/olimex-strp711/ostest/defconfig
+++ b/nuttx/configs/olimex-strp711/ostest/defconfig
@@ -226,6 +226,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig
index 3a480d786..b4bd30ae8 100644
--- a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig
+++ b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig
@@ -276,6 +276,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig
index da8ff40ed..08bdccddd 100644
--- a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig
+++ b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig
@@ -266,6 +266,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pic32-starterkit/nsh/defconfig b/nuttx/configs/pic32-starterkit/nsh/defconfig
index 17fbd6f4e..f2cd27560 100644
--- a/nuttx/configs/pic32-starterkit/nsh/defconfig
+++ b/nuttx/configs/pic32-starterkit/nsh/defconfig
@@ -359,6 +359,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pic32-starterkit/nsh2/defconfig b/nuttx/configs/pic32-starterkit/nsh2/defconfig
index 0eec63118..6f227f638 100644
--- a/nuttx/configs/pic32-starterkit/nsh2/defconfig
+++ b/nuttx/configs/pic32-starterkit/nsh2/defconfig
@@ -358,6 +358,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig
index e386b5936..922cb8901 100644
--- a/nuttx/configs/pic32-starterkit/ostest/defconfig
+++ b/nuttx/configs/pic32-starterkit/ostest/defconfig
@@ -356,6 +356,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pic32mx7mmb/nsh/defconfig b/nuttx/configs/pic32mx7mmb/nsh/defconfig
index c55e80209..8d9dffc21 100644
--- a/nuttx/configs/pic32mx7mmb/nsh/defconfig
+++ b/nuttx/configs/pic32mx7mmb/nsh/defconfig
@@ -374,6 +374,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pic32mx7mmb/ostest/defconfig b/nuttx/configs/pic32mx7mmb/ostest/defconfig
index a2e653a56..1d656380d 100644
--- a/nuttx/configs/pic32mx7mmb/ostest/defconfig
+++ b/nuttx/configs/pic32mx7mmb/ostest/defconfig
@@ -356,6 +356,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/pjrc-8051/defconfig b/nuttx/configs/pjrc-8051/defconfig
index c223f64e1..b41d74e31 100644
--- a/nuttx/configs/pjrc-8051/defconfig
+++ b/nuttx/configs/pjrc-8051/defconfig
@@ -208,3 +208,11 @@ CONFIG_PTHREAD_STACK_MIN=
CONFIG_PTHREAD_STACK_DEFAULT=
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/qemu-i486/nsh/defconfig b/nuttx/configs/qemu-i486/nsh/defconfig
index b693c94f7..792157fe0 100644
--- a/nuttx/configs/qemu-i486/nsh/defconfig
+++ b/nuttx/configs/qemu-i486/nsh/defconfig
@@ -309,3 +309,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=2048
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/qemu-i486/ostest/defconfig b/nuttx/configs/qemu-i486/ostest/defconfig
index 63c27a231..b0036289a 100644
--- a/nuttx/configs/qemu-i486/ostest/defconfig
+++ b/nuttx/configs/qemu-i486/ostest/defconfig
@@ -225,3 +225,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=2048
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/rgmp/arm/default/defconfig b/nuttx/configs/rgmp/arm/default/defconfig
index a78500bf4..0c40e8bd2 100644
--- a/nuttx/configs/rgmp/arm/default/defconfig
+++ b/nuttx/configs/rgmp/arm/default/defconfig
@@ -220,6 +220,13 @@ CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
##########################################
# RGMP specific configuration
diff --git a/nuttx/configs/rgmp/arm/nsh/defconfig b/nuttx/configs/rgmp/arm/nsh/defconfig
index bee14b0a2..0ae14b141 100644
--- a/nuttx/configs/rgmp/arm/nsh/defconfig
+++ b/nuttx/configs/rgmp/arm/nsh/defconfig
@@ -221,6 +221,13 @@ CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
##########################################
# RGMP specific configuration
diff --git a/nuttx/configs/rgmp/x86/cxxtest/defconfig b/nuttx/configs/rgmp/x86/cxxtest/defconfig
index 34430ae86..1d2996557 100644
--- a/nuttx/configs/rgmp/x86/cxxtest/defconfig
+++ b/nuttx/configs/rgmp/x86/cxxtest/defconfig
@@ -74,7 +74,7 @@ CONFIG_ARCH_BOARD_RGMP=y
# CONFIG_RR_INTERVAL - The round robin timeslice will be set
# this number of milliseconds; Round robin scheduling can
# be disabled by setting this value to zero.
-# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in
+# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in
# scheduler to monitor system performance
# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a
# task name to save in the TCB. Useful if scheduler
@@ -89,11 +89,11 @@ CONFIG_ARCH_BOARD_RGMP=y
# CONFIG_MUTEX_TYPES: Set to enable support for recursive and
# errorcheck mutexes. Enables pthread_mutexattr_settype().
# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority
-# inheritance on mutexes and semaphores.
+# inheritance on mutexes and semaphores.
# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority
# inheritance is enabled. It defines the maximum number of
# different threads (minus one) that can take counts on a
-# semaphore with priority inheritance support. This may be
+# semaphore with priority inheritance support. This may be
# set to zero if priority inheritance is disabled OR if you
# are only using semaphores as mutexes (only one holder) OR
# if no more than two threads participate using a counting
@@ -327,6 +327,14 @@ CONFIG_NET_DHCP_LIGHT=n
CONFIG_NET_RESOLV_ENTRIES=4
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# Settings for examples/uip
CONFIG_EXAMPLE_UIP_IPADDR=0xc0a80a02
CONFIG_EXAMPLE_UIP_DRIPADDR=0xc0a80a01
diff --git a/nuttx/configs/rgmp/x86/default/defconfig b/nuttx/configs/rgmp/x86/default/defconfig
index 30b27c4a1..070ffcb30 100644
--- a/nuttx/configs/rgmp/x86/default/defconfig
+++ b/nuttx/configs/rgmp/x86/default/defconfig
@@ -182,6 +182,14 @@ CONFIG_NET_DHCP_LIGHT=n
CONFIG_NET_RESOLV_ENTRIES=4
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# Settings for examples/uip
CONFIG_EXAMPLES_UIP_IPADDR=0xc0a80a02
CONFIG_EXAMPLES_UIP_DRIPADDR=0xc0a80a01
diff --git a/nuttx/configs/rgmp/x86/helloxx/defconfig b/nuttx/configs/rgmp/x86/helloxx/defconfig
index ed7d5d8b9..c8400560a 100644
--- a/nuttx/configs/rgmp/x86/helloxx/defconfig
+++ b/nuttx/configs/rgmp/x86/helloxx/defconfig
@@ -74,7 +74,7 @@ CONFIG_ARCH_BOARD_RGMP=y
# CONFIG_RR_INTERVAL - The round robin timeslice will be set
# this number of milliseconds; Round robin scheduling can
# be disabled by setting this value to zero.
-# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in
+# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in
# scheduler to monitor system performance
# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a
# task name to save in the TCB. Useful if scheduler
@@ -89,11 +89,11 @@ CONFIG_ARCH_BOARD_RGMP=y
# CONFIG_MUTEX_TYPES: Set to enable support for recursive and
# errorcheck mutexes. Enables pthread_mutexattr_settype().
# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority
-# inheritance on mutexes and semaphores.
+# inheritance on mutexes and semaphores.
# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority
# inheritance is enabled. It defines the maximum number of
# different threads (minus one) that can take counts on a
-# semaphore with priority inheritance support. This may be
+# semaphore with priority inheritance support. This may be
# set to zero if priority inheritance is disabled OR if you
# are only using semaphores as mutexes (only one holder) OR
# if no more than two threads participate using a counting
@@ -389,6 +389,14 @@ CONFIG_HEAP_SIZE=
CONFIG_USER_ENTRYPOINT="helloxx_main"
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# uClibc++ Standard C++ Library
#
#CONFIG_UCLIBCXX=y
diff --git a/nuttx/configs/rgmp/x86/nsh/defconfig b/nuttx/configs/rgmp/x86/nsh/defconfig
index 90797a20b..891d58ba8 100644
--- a/nuttx/configs/rgmp/x86/nsh/defconfig
+++ b/nuttx/configs/rgmp/x86/nsh/defconfig
@@ -230,6 +230,13 @@ CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
##########################################
# RGMP specific configuration
diff --git a/nuttx/configs/sam3u-ek/knsh/defconfig b/nuttx/configs/sam3u-ek/knsh/defconfig
index 416ca3fa3..e61180407 100755
--- a/nuttx/configs/sam3u-ek/knsh/defconfig
+++ b/nuttx/configs/sam3u-ek/knsh/defconfig
@@ -268,6 +268,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/sam3u-ek/nsh/defconfig b/nuttx/configs/sam3u-ek/nsh/defconfig
index 69a2081ff..288df5957 100755
--- a/nuttx/configs/sam3u-ek/nsh/defconfig
+++ b/nuttx/configs/sam3u-ek/nsh/defconfig
@@ -243,6 +243,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/sam3u-ek/nx/defconfig b/nuttx/configs/sam3u-ek/nx/defconfig
index aae6aa5fa..7b56b9d41 100755
--- a/nuttx/configs/sam3u-ek/nx/defconfig
+++ b/nuttx/configs/sam3u-ek/nx/defconfig
@@ -252,6 +252,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/sam3u-ek/ostest/defconfig b/nuttx/configs/sam3u-ek/ostest/defconfig
index 14b8eaa6e..b2e9a5184 100755
--- a/nuttx/configs/sam3u-ek/ostest/defconfig
+++ b/nuttx/configs/sam3u-ek/ostest/defconfig
@@ -244,6 +244,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/sam3u-ek/touchscreen/defconfig b/nuttx/configs/sam3u-ek/touchscreen/defconfig
index cd1fec7d1..b3fc37d2a 100755
--- a/nuttx/configs/sam3u-ek/touchscreen/defconfig
+++ b/nuttx/configs/sam3u-ek/touchscreen/defconfig
@@ -277,6 +277,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
@@ -549,7 +557,7 @@ CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y
CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0
CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0"
CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25
-
+
#
# Stack and heap information
#
diff --git a/nuttx/configs/sim/mount/defconfig b/nuttx/configs/sim/mount/defconfig
index 7caa87852..d5e108782 100644
--- a/nuttx/configs/sim/mount/defconfig
+++ b/nuttx/configs/sim/mount/defconfig
@@ -223,3 +223,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nettest/defconfig b/nuttx/configs/sim/nettest/defconfig
index c216e2edc..1df980ea8 100644
--- a/nuttx/configs/sim/nettest/defconfig
+++ b/nuttx/configs/sim/nettest/defconfig
@@ -222,3 +222,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nsh/defconfig b/nuttx/configs/sim/nsh/defconfig
index a217dd71d..a60edd4ac 100644
--- a/nuttx/configs/sim/nsh/defconfig
+++ b/nuttx/configs/sim/nsh/defconfig
@@ -267,3 +267,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nsh2/defconfig b/nuttx/configs/sim/nsh2/defconfig
index 0e93cd481..903c6322d 100644
--- a/nuttx/configs/sim/nsh2/defconfig
+++ b/nuttx/configs/sim/nsh2/defconfig
@@ -370,3 +370,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nx/defconfig b/nuttx/configs/sim/nx/defconfig
index d5cad6741..9036a7956 100644
--- a/nuttx/configs/sim/nx/defconfig
+++ b/nuttx/configs/sim/nx/defconfig
@@ -324,3 +324,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nx11/defconfig b/nuttx/configs/sim/nx11/defconfig
index 0ac3362be..46b5cb414 100644
--- a/nuttx/configs/sim/nx11/defconfig
+++ b/nuttx/configs/sim/nx11/defconfig
@@ -319,3 +319,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nxffs/defconfig b/nuttx/configs/sim/nxffs/defconfig
index 79f5b0f93..c8aadee25 100644
--- a/nuttx/configs/sim/nxffs/defconfig
+++ b/nuttx/configs/sim/nxffs/defconfig
@@ -232,3 +232,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/nxwm/defconfig b/nuttx/configs/sim/nxwm/defconfig
index 9029b3b2f..e38e07b17 100644
--- a/nuttx/configs/sim/nxwm/defconfig
+++ b/nuttx/configs/sim/nxwm/defconfig
@@ -402,3 +402,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/pashello/defconfig b/nuttx/configs/sim/pashello/defconfig
index b40ec626e..fedf401d8 100644
--- a/nuttx/configs/sim/pashello/defconfig
+++ b/nuttx/configs/sim/pashello/defconfig
@@ -211,3 +211,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/sim/touchscreen/defconfig b/nuttx/configs/sim/touchscreen/defconfig
index 6a2e3e304..df2a0553c 100644
--- a/nuttx/configs/sim/touchscreen/defconfig
+++ b/nuttx/configs/sim/touchscreen/defconfig
@@ -318,3 +318,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=8192
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig
index f3370d48c..d223a8350 100644
--- a/nuttx/configs/skp16c26/ostest/defconfig
+++ b/nuttx/configs/skp16c26/ostest/defconfig
@@ -317,3 +317,11 @@ CONFIG_PTHREAD_STACK_MIN=64
CONFIG_PTHREAD_STACK_DEFAULT=256
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig
index 7032bd975..64665f47e 100755
--- a/nuttx/configs/stm3210e-eval/RIDE/defconfig
+++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig
@@ -276,6 +276,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig
index 37b1cf968..0d6882b5d 100644
--- a/nuttx/configs/stm3210e-eval/buttons/defconfig
+++ b/nuttx/configs/stm3210e-eval/buttons/defconfig
@@ -287,6 +287,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/composite/defconfig b/nuttx/configs/stm3210e-eval/composite/defconfig
index fa485f4df..2db58aee5 100755
--- a/nuttx/configs/stm3210e-eval/composite/defconfig
+++ b/nuttx/configs/stm3210e-eval/composite/defconfig
@@ -293,6 +293,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig
index 1341c5891..52fdd777f 100755
--- a/nuttx/configs/stm3210e-eval/nsh/defconfig
+++ b/nuttx/configs/stm3210e-eval/nsh/defconfig
@@ -284,6 +284,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig
index 0ce49deb5..a55a0da5f 100644
--- a/nuttx/configs/stm3210e-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig
@@ -349,6 +349,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig
index 6569c9a65..9c2ccf67c 100644
--- a/nuttx/configs/stm3210e-eval/nx/defconfig
+++ b/nuttx/configs/stm3210e-eval/nx/defconfig
@@ -301,6 +301,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/nxconsole/defconfig b/nuttx/configs/stm3210e-eval/nxconsole/defconfig
index 070bcde42..c4de790d9 100644
--- a/nuttx/configs/stm3210e-eval/nxconsole/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxconsole/defconfig
@@ -302,6 +302,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig
index 8517f45e5..c24e85824 100644
--- a/nuttx/configs/stm3210e-eval/nxlines/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig
@@ -301,6 +301,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig
index d554a0a7a..038e20927 100644
--- a/nuttx/configs/stm3210e-eval/nxtext/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig
@@ -301,6 +301,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig
index abb4b925c..8ed1795a6 100755
--- a/nuttx/configs/stm3210e-eval/ostest/defconfig
+++ b/nuttx/configs/stm3210e-eval/ostest/defconfig
@@ -296,6 +296,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/pm/defconfig b/nuttx/configs/stm3210e-eval/pm/defconfig
index 00d307c64..02823ef29 100644
--- a/nuttx/configs/stm3210e-eval/pm/defconfig
+++ b/nuttx/configs/stm3210e-eval/pm/defconfig
@@ -380,6 +380,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig
index 0672be24d..b41b41f50 100755
--- a/nuttx/configs/stm3210e-eval/usbserial/defconfig
+++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig
@@ -286,6 +286,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig
index 57facca01..9f927d7e3 100755
--- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig
+++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig
@@ -293,6 +293,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/dhcpd/defconfig b/nuttx/configs/stm3220g-eval/dhcpd/defconfig
index 39f2427fd..04f243d71 100644
--- a/nuttx/configs/stm3220g-eval/dhcpd/defconfig
+++ b/nuttx/configs/stm3220g-eval/dhcpd/defconfig
@@ -357,6 +357,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/nettest/defconfig b/nuttx/configs/stm3220g-eval/nettest/defconfig
index a186ad67c..201df86b0 100644
--- a/nuttx/configs/stm3220g-eval/nettest/defconfig
+++ b/nuttx/configs/stm3220g-eval/nettest/defconfig
@@ -357,6 +357,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/nsh/defconfig b/nuttx/configs/stm3220g-eval/nsh/defconfig
index 92741b91f..f1838a38b 100644
--- a/nuttx/configs/stm3220g-eval/nsh/defconfig
+++ b/nuttx/configs/stm3220g-eval/nsh/defconfig
@@ -403,6 +403,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/nsh2/defconfig b/nuttx/configs/stm3220g-eval/nsh2/defconfig
index 98b8b1923..2395fd785 100644
--- a/nuttx/configs/stm3220g-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3220g-eval/nsh2/defconfig
@@ -402,6 +402,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/nxwm/defconfig b/nuttx/configs/stm3220g-eval/nxwm/defconfig
index 32d9c31eb..78439e4c0 100644
--- a/nuttx/configs/stm3220g-eval/nxwm/defconfig
+++ b/nuttx/configs/stm3220g-eval/nxwm/defconfig
@@ -404,6 +404,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/ostest/defconfig b/nuttx/configs/stm3220g-eval/ostest/defconfig
index 2f69fdc24..9384a7f14 100644
--- a/nuttx/configs/stm3220g-eval/ostest/defconfig
+++ b/nuttx/configs/stm3220g-eval/ostest/defconfig
@@ -347,6 +347,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3220g-eval/telnetd/defconfig b/nuttx/configs/stm3220g-eval/telnetd/defconfig
index c41c37088..1401dc6e7 100644
--- a/nuttx/configs/stm3220g-eval/telnetd/defconfig
+++ b/nuttx/configs/stm3220g-eval/telnetd/defconfig
@@ -357,6 +357,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig
index dd0342d70..80293f66a 100644
--- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig
+++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig
@@ -363,6 +363,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/nettest/defconfig b/nuttx/configs/stm3240g-eval/nettest/defconfig
index 5c5053dda..81a53bd68 100644
--- a/nuttx/configs/stm3240g-eval/nettest/defconfig
+++ b/nuttx/configs/stm3240g-eval/nettest/defconfig
@@ -363,6 +363,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig
index 1501e32d1..3b1092487 100644
--- a/nuttx/configs/stm3240g-eval/nsh/defconfig
+++ b/nuttx/configs/stm3240g-eval/nsh/defconfig
@@ -408,6 +408,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/nsh2/defconfig b/nuttx/configs/stm3240g-eval/nsh2/defconfig
index 4e5eff8bd..ba6445615 100644
--- a/nuttx/configs/stm3240g-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3240g-eval/nsh2/defconfig
@@ -408,6 +408,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/nxconsole/defconfig b/nuttx/configs/stm3240g-eval/nxconsole/defconfig
index 5eada6ab2..49a2b6631 100644
--- a/nuttx/configs/stm3240g-eval/nxconsole/defconfig
+++ b/nuttx/configs/stm3240g-eval/nxconsole/defconfig
@@ -407,6 +407,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/nxwm/defconfig b/nuttx/configs/stm3240g-eval/nxwm/defconfig
index 39ffcd07d..7ab42a7cb 100644
--- a/nuttx/configs/stm3240g-eval/nxwm/defconfig
+++ b/nuttx/configs/stm3240g-eval/nxwm/defconfig
@@ -409,6 +409,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig
index 3c29fca51..95a06dea0 100644
--- a/nuttx/configs/stm3240g-eval/ostest/defconfig
+++ b/nuttx/configs/stm3240g-eval/ostest/defconfig
@@ -352,6 +352,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/telnetd/defconfig b/nuttx/configs/stm3240g-eval/telnetd/defconfig
index 8d5b44974..471845c14 100644
--- a/nuttx/configs/stm3240g-eval/telnetd/defconfig
+++ b/nuttx/configs/stm3240g-eval/telnetd/defconfig
@@ -363,6 +363,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm3240g-eval/webserver/defconfig b/nuttx/configs/stm3240g-eval/webserver/defconfig
index 1ea4cf943..c365b7fa1 100644
--- a/nuttx/configs/stm3240g-eval/webserver/defconfig
+++ b/nuttx/configs/stm3240g-eval/webserver/defconfig
@@ -408,6 +408,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig
index df802fee3..8967fd01c 100644
--- a/nuttx/configs/stm32f4discovery/nsh/defconfig
+++ b/nuttx/configs/stm32f4discovery/nsh/defconfig
@@ -377,6 +377,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig
index 34f6f636d..f19882006 100644
--- a/nuttx/configs/stm32f4discovery/nxlines/defconfig
+++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig
@@ -377,6 +377,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig
index 0a463d9bd..105eb4d37 100644
--- a/nuttx/configs/stm32f4discovery/pm/defconfig
+++ b/nuttx/configs/stm32f4discovery/pm/defconfig
@@ -396,6 +396,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/sure-pic32mx/nsh/defconfig b/nuttx/configs/sure-pic32mx/nsh/defconfig
index ae7b4b83e..050f30247 100644
--- a/nuttx/configs/sure-pic32mx/nsh/defconfig
+++ b/nuttx/configs/sure-pic32mx/nsh/defconfig
@@ -288,6 +288,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig
index 95c044851..eb386e232 100644
--- a/nuttx/configs/sure-pic32mx/ostest/defconfig
+++ b/nuttx/configs/sure-pic32mx/ostest/defconfig
@@ -267,6 +267,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/sure-pic32mx/usbnsh/defconfig b/nuttx/configs/sure-pic32mx/usbnsh/defconfig
index cfdc83d4b..2b28b94c7 100644
--- a/nuttx/configs/sure-pic32mx/usbnsh/defconfig
+++ b/nuttx/configs/sure-pic32mx/usbnsh/defconfig
@@ -285,6 +285,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/teensy/hello/defconfig b/nuttx/configs/teensy/hello/defconfig
index 05349bf47..93376ac57 100644
--- a/nuttx/configs/teensy/hello/defconfig
+++ b/nuttx/configs/teensy/hello/defconfig
@@ -216,6 +216,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/teensy/nsh/defconfig b/nuttx/configs/teensy/nsh/defconfig
index f8e71d7e9..ffcd94c1d 100755
--- a/nuttx/configs/teensy/nsh/defconfig
+++ b/nuttx/configs/teensy/nsh/defconfig
@@ -216,6 +216,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/teensy/usbstorage/defconfig b/nuttx/configs/teensy/usbstorage/defconfig
index 08b8fd842..dba45073f 100755
--- a/nuttx/configs/teensy/usbstorage/defconfig
+++ b/nuttx/configs/teensy/usbstorage/defconfig
@@ -217,6 +217,14 @@ CONFIG_FS_FAT=y
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/twr-k60n512/nsh/defconfig b/nuttx/configs/twr-k60n512/nsh/defconfig
index d4b8f77fa..aeb0c5359 100644
--- a/nuttx/configs/twr-k60n512/nsh/defconfig
+++ b/nuttx/configs/twr-k60n512/nsh/defconfig
@@ -280,6 +280,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/twr-k60n512/ostest/defconfig b/nuttx/configs/twr-k60n512/ostest/defconfig
index 8505ac12d..9cf37c763 100644
--- a/nuttx/configs/twr-k60n512/ostest/defconfig
+++ b/nuttx/configs/twr-k60n512/ostest/defconfig
@@ -279,6 +279,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ubw32/nsh/defconfig b/nuttx/configs/ubw32/nsh/defconfig
index a6fe0051d..320b7e266 100644
--- a/nuttx/configs/ubw32/nsh/defconfig
+++ b/nuttx/configs/ubw32/nsh/defconfig
@@ -275,6 +275,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/ubw32/ostest/defconfig b/nuttx/configs/ubw32/ostest/defconfig
index 857684409..71f286700 100644
--- a/nuttx/configs/ubw32/ostest/defconfig
+++ b/nuttx/configs/ubw32/ostest/defconfig
@@ -274,6 +274,14 @@ CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/us7032evb1/nsh/defconfig b/nuttx/configs/us7032evb1/nsh/defconfig
index 7dd5dc698..2405dc2d3 100644
--- a/nuttx/configs/us7032evb1/nsh/defconfig
+++ b/nuttx/configs/us7032evb1/nsh/defconfig
@@ -192,6 +192,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/us7032evb1/ostest/defconfig b/nuttx/configs/us7032evb1/ostest/defconfig
index 286c61998..e910f112f 100644
--- a/nuttx/configs/us7032evb1/ostest/defconfig
+++ b/nuttx/configs/us7032evb1/ostest/defconfig
@@ -192,6 +192,14 @@ CONFIG_FS_FAT=n
CONFIG_FS_ROMFS=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=1
diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig
index a43deab6f..fa5570596 100755
--- a/nuttx/configs/vsn/nsh/defconfig
+++ b/nuttx/configs/vsn/nsh/defconfig
@@ -327,6 +327,14 @@ CONFIG_I2C_TRANSFER=y
CONFIG_I2C_SLAVE=n
#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
+
+#
# SPI-based MMC/SD driver
#
CONFIG_MMCSD_NSLOTS=0
diff --git a/nuttx/configs/xtrs/nsh/defconfig b/nuttx/configs/xtrs/nsh/defconfig
index 7065ad8d5..dc4e59556 100644
--- a/nuttx/configs/xtrs/nsh/defconfig
+++ b/nuttx/configs/xtrs/nsh/defconfig
@@ -217,3 +217,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/xtrs/ostest/defconfig b/nuttx/configs/xtrs/ostest/defconfig
index 5759b9105..0104deb2c 100644
--- a/nuttx/configs/xtrs/ostest/defconfig
+++ b/nuttx/configs/xtrs/ostest/defconfig
@@ -202,3 +202,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/xtrs/pashello/defconfig b/nuttx/configs/xtrs/pashello/defconfig
index 0d80ec074..52d4e6b83 100644
--- a/nuttx/configs/xtrs/pashello/defconfig
+++ b/nuttx/configs/xtrs/pashello/defconfig
@@ -202,3 +202,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig
index 0bfb09ea8..16f017778 100644
--- a/nuttx/configs/z16f2800100zcog/ostest/defconfig
+++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig
@@ -215,3 +215,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z16f2800100zcog/pashello/defconfig b/nuttx/configs/z16f2800100zcog/pashello/defconfig
index 1c2fb80f2..eec7b1575 100644
--- a/nuttx/configs/z16f2800100zcog/pashello/defconfig
+++ b/nuttx/configs/z16f2800100zcog/pashello/defconfig
@@ -215,3 +215,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z80sim/nsh/defconfig b/nuttx/configs/z80sim/nsh/defconfig
index 5dd0cdc4b..c86b0edc1 100644
--- a/nuttx/configs/z80sim/nsh/defconfig
+++ b/nuttx/configs/z80sim/nsh/defconfig
@@ -213,3 +213,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z80sim/ostest/defconfig b/nuttx/configs/z80sim/ostest/defconfig
index 9fa525259..d81ae7458 100644
--- a/nuttx/configs/z80sim/ostest/defconfig
+++ b/nuttx/configs/z80sim/ostest/defconfig
@@ -198,3 +198,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z80sim/pashello/defconfig b/nuttx/configs/z80sim/pashello/defconfig
index db32f93fb..655c87408 100644
--- a/nuttx/configs/z80sim/pashello/defconfig
+++ b/nuttx/configs/z80sim/pashello/defconfig
@@ -198,3 +198,11 @@ CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z8encore000zco/ostest/defconfig b/nuttx/configs/z8encore000zco/ostest/defconfig
index 35ed60aba..4ed80ba69 100644
--- a/nuttx/configs/z8encore000zco/ostest/defconfig
+++ b/nuttx/configs/z8encore000zco/ostest/defconfig
@@ -219,3 +219,11 @@ CONFIG_PTHREAD_STACK_MIN=128
CONFIG_PTHREAD_STACK_DEFAULT=256
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/configs/z8f64200100kit/ostest/defconfig b/nuttx/configs/z8f64200100kit/ostest/defconfig
index 338434698..bed04a40e 100644
--- a/nuttx/configs/z8f64200100kit/ostest/defconfig
+++ b/nuttx/configs/z8f64200100kit/ostest/defconfig
@@ -219,3 +219,11 @@ CONFIG_PTHREAD_STACK_MIN=128
CONFIG_PTHREAD_STACK_DEFAULT=256
CONFIG_HEAP_SIZE=
CONFIG_HEAP_BASE=
+
+#
+# Maintain legacy build behavior (revisit)
+#
+
+CONFIG_MMCSD=y
+CONFIG_MMCSD_SPI=y
+CONFIG_MMCSD_SDIO=y
diff --git a/nuttx/drivers/mmcsd/Make.defs b/nuttx/drivers/mmcsd/Make.defs
index 850456597..455ac286d 100644
--- a/nuttx/drivers/mmcsd/Make.defs
+++ b/nuttx/drivers/mmcsd/Make.defs
@@ -33,9 +33,17 @@
#
############################################################################
+if ($(CONFIG_MMCSD),y)
+
# Include MMC/SD drivers
-CSRCS += mmcsd_sdio.c mmcsd_spi.c mmcsd_debug.c
+if ($(CONFIG_MMCSD_SDIO),y)
+CSRCS += mmcsd_sdio.c
+endif
+
+if ($(CONFIG_MMCSD_SPI),y)
+CSRCS += mmcsd_spi.c mmcsd_debug.c
+endif
# Include MMC/SD driver build support
@@ -43,4 +51,6 @@ DEPPATH += --dep-path mmcsd
VPATH += :mmcsd
CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/drivers/mmcsd}
+endif
+
diff --git a/nuttx/drivers/mmcsd/mmcsd_sdio.c b/nuttx/drivers/mmcsd/mmcsd_sdio.c
index d0bc6659c..64b045bc2 100644
--- a/nuttx/drivers/mmcsd/mmcsd_sdio.c
+++ b/nuttx/drivers/mmcsd/mmcsd_sdio.c
@@ -38,6 +38,9 @@
****************************************************************************/
#include <nuttx/config.h>
+
+#if defined (CONFIG_MMCSD) && defined (CONFIG_MMCSD_SDIO)
+
#include <nuttx/compiler.h>
#include <sys/types.h>
@@ -3178,3 +3181,5 @@ errout_with_alloc:
kfree(priv);
return ret;
}
+
+#endif /* defined (CONFIG_MMCSD) && defined (CONFIG_MMCSD_SDIO) */
diff --git a/nuttx/drivers/mmcsd/mmcsd_spi.c b/nuttx/drivers/mmcsd/mmcsd_spi.c
index 39b570581..d437b7fea 100644
--- a/nuttx/drivers/mmcsd/mmcsd_spi.c
+++ b/nuttx/drivers/mmcsd/mmcsd_spi.c
@@ -38,6 +38,9 @@
****************************************************************************/
#include <nuttx/config.h>
+
+#if defined (CONFIG_MMCSD) && defined (CONFIG_MMCSD_SPI)
+
#include <sys/types.h>
#include <stdint.h>
@@ -1878,3 +1881,5 @@ int mmcsd_spislotinitialize(int minor, int slotno, FAR struct spi_dev_s *spi)
(void)SPI_REGISTERCALLBACK(spi, mmcsd_mediachanged, (void*)slot);
return OK;
}
+
+#endif /* defined (CONFIG_MMCSD) && defined (CONFIG_MMCSD_SPI) */