From 554314767fa1cc39760abba0724669734b7b24b2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 26 May 2009 16:07:25 +0000 Subject: [PATCH] Updated MMC/SD SPI driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1826 42af7a65-404d-4744-a932-0658087f49c3 --- configs/README.txt | 2 ++ configs/eagle100/httpd/defconfig | 4 ++++ configs/eagle100/nettest/defconfig | 4 ++++ configs/eagle100/nsh/defconfig | 4 ++++ configs/eagle100/ostest/defconfig | 4 ++++ 5 files changed, 18 insertions(+) diff --git a/configs/README.txt b/configs/README.txt index 096a6a54b8..2dba9d0f52 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -286,6 +286,8 @@ defconfig -- This is a configuration file similar to the Linux driver. Default is one. CONFIG_MMCSD_READONLY - Provide read-only access. Default is Read/Write + CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. + Default is 20MHz. TCP/IP and UDP support via uIP CONFIG_NET - Enable or disable all network features diff --git a/configs/eagle100/httpd/defconfig b/configs/eagle100/httpd/defconfig index 044d5c5cb1..e6b40982db 100644 --- a/configs/eagle100/httpd/defconfig +++ b/configs/eagle100/httpd/defconfig @@ -350,8 +350,12 @@ CONFIG_FS_ROMFS=n # Number of MMC/SD slots supported by the driver # CONFIG_MMCSD_READONLY # Provide read-only access (default is read/write) +# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. +# Default is 20MHz. +# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n +CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP diff --git a/configs/eagle100/nettest/defconfig b/configs/eagle100/nettest/defconfig index c9679b551b..fd74f7bedb 100644 --- a/configs/eagle100/nettest/defconfig +++ b/configs/eagle100/nettest/defconfig @@ -350,8 +350,12 @@ CONFIG_FS_ROMFS=n # Number of MMC/SD slots supported by the driver # CONFIG_MMCSD_READONLY # Provide read-only access (default is read/write) +# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. +# Default is 20MHz. +# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n +CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP diff --git a/configs/eagle100/nsh/defconfig b/configs/eagle100/nsh/defconfig index d40816e422..4bcb2decff 100644 --- a/configs/eagle100/nsh/defconfig +++ b/configs/eagle100/nsh/defconfig @@ -349,8 +349,12 @@ CONFIG_FS_ROMFS=n # Number of MMC/SD slots supported by the driver # CONFIG_MMCSD_READONLY # Provide read-only access (default is read/write) +# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. +# Default is 20MHz. +# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n +CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP diff --git a/configs/eagle100/ostest/defconfig b/configs/eagle100/ostest/defconfig index 41f811dd18..cd430ca08d 100644 --- a/configs/eagle100/ostest/defconfig +++ b/configs/eagle100/ostest/defconfig @@ -349,8 +349,12 @@ CONFIG_FS_ROMFS=n # Number of MMC/SD slots supported by the driver # CONFIG_MMCSD_READONLY # Provide read-only access (default is read/write) +# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. +# Default is 20MHz. +# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n +CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP