📄 changelog
字号:
MMC Module Driver Version 1.0/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Copyright (C) 2002 Motorola Semiconductors SuZhou Ltd * */FEATURES- Provide services to access the MMC card through the linux block device driverHOW TO TEST THE DRIVERSimply run the autotest script under test directory with the following command: sh autotest.mmcVersion 1.0- Add support for MX21, also using the new toolchain armgcc3.2.3 to compile it.- Modify the test script to support 2 sdhc sockets testing, and using the general block test program to test the memory read/write operation.- Built for MX21BSP release version mx21_rel_beat_1.0Version 0.3.6- The old MMC / SD driver is split into 2 parts, MMC driver and SD driver. This is the MMC driver which can be only used for MMC card- Clock stopping and starting sequences are changed as the suggested sequences from designer- Clock starting is changed from a dead loop to a loop which restarts the clock after time out.- MMC clock is slowed down to 4Mhz as the dividers must be non-zero ( fastest to be 4Mhz)- Driver now uses devfs- Makefile now includes -DSILICON_MASK_0L for 0L44N/45N silicons. If using a silicon marked 0L, please enable the -DSILICON_MASK_0L C_FLAGS in the MakefileVersion 0.3.4- The driver now attempts to acquire DMA channel starting from 2 instead of the former 1.- Commented out the line in _MMCSD_PinConfig() that maximized the slow I/O pad driving because it is found to cause system instability when an LCD panel is connected to the ADS.- Add SD card write protect function.Please note here, when you want this feature,Here when you mount a write protected card, you must use -o ro option.make sure you have remove R184 in ADS board, and have added R199. Otherwisethere will be some problem when using the new MMC/SD driver.- Fixed a bug when initializing other brands MMC cards. Note here, you need to remove R44 with MMC cards, and add back R44 with SD card.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -