- 09 1月, 2012 1 次提交
-
-
由 Thierry Reding 提交于
Check for card detect each time an MMC/SD device is initialized. If card detection is not implemented, this code behaves as before and continues assuming a card is present. If no card is detected, has_init is reset for the MMC/SD device (to force initialization next time) and an error is returned. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Tested-by: NJason Liu <jason.hui@linaro.org>
-
- 04 9月, 2011 1 次提交
-
-
由 Anton Staaf 提交于
Currently if a DMA buffer straddles a buffer alignment boundary (512KiB) then the DMA engine will pause and generate a DMA interrupt. Since the DMA interrupt is not enabled it will hang the MMC driver. This patch adds support for restarting the DMA transfer. The SYSTEM_ADDRESS register contains the next address that would have been read/written when a boundary is hit. So we can read that and write it back. The write triggers the resumption of the transfer. Signed-off-by: NAnton Staaf <robotboy@chromium.org> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Tested-by : Jaehoon Chung <jh80.chung@samsung.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- 16 7月, 2011 1 次提交
-
-
由 Łukasz Majewski 提交于
This patch provides handling of the two way handshake when SEND_OP_COND (CMD1) is send to mmc card. It is necessary to inform eMMC card if the host can work with high capacity cards (Jedec JESD84-A441, point 7.4.3). The extra flag MMC_MODE_HC (high capacity) is added to indicate if the host is capable of handling the high capacity eMMC cards. Since this change is added to the generic mmc framework, then it requires other boards to indicate if their mmc controllers can handle high capacity cards. As it is now - the old behaviour of the framework is preserved. Signed-off-by: NLukasz Majewski <l.majewski@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 26 5月, 2011 2 次提交
-
-
由 Jaehoon Chung 提交于
This patch added set_mmc_clk for external clock control. c210 didn't support host clock control. So We need external_clock_control function for c210. Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Dirk Behme 提交于
Fix typo resulting in the compilation error s5p_mmc.c: In function 's5p_mmc_initialize': s5p_mmc.c:469: error: 'struct mmc' has no member named 'm_bmax' introduced by commit "MMC: make b_max unconditional" (8feafcc4) Signed-off-by: NDirk Behme <dirk.behme@googlemail.com> CC: John Rigby <john.rigby@linaro.org> CC: Andy Fleming <afleming@freescale.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 29 4月, 2011 1 次提交
-
-
由 John Rigby 提交于
Make existing field b_max field in struct mmc unconditional and use it instead of CONFIG_SYS_MMC_MAX_BLK_COUNT in mmc_bread and mmc_bwrite. Initialize b_max to CONFIG_SYS_MMC_MAX_BLK_COUNT in mmc_register if it has not been initialized by the hw driver. Initialize b_max to 0 in all callers to mmc_register. Signed-off-by: NJohn Rigby <john.rigby@linaro.org> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 28 3月, 2011 1 次提交
-
-
由 Chander Kashyap 提交于
Blocksize was hardcoded to 512 bytes. But the blocksize varies depeding on various mmc subsystem commands (between 8 and 512). This hardcoding was resulting in interrupt error during data transfer. It is now calculated based upon the request sent by mmc subsystem. Signed-off-by: NChander Kashyap <chander.kashyap@linaro.org> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 19 10月, 2010 1 次提交
-
-
由 Jaehoon Chung 提交于
This Patch do support 8-bit bus width for s5p So we add parameter for bus_width (in s5p_mmc_init(), s5p_mmc_initialize()) If want to use 8-bit bus width, only change (0, 8) instead of (0, 4). Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 17 8月, 2010 1 次提交
-
-
由 Minkyu Kang 提交于
This patch is intended to prepare the other S5P SoC. (s5pc210) If use SoC specific defines then can't share with other SoC. So, make the accessor functions for access the base address by common way. Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 10 8月, 2010 1 次提交
-
-
由 Minkyu Kang 提交于
Use the standard debug macro instead of the costom macro Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Cc: Wolfgang Denk <wd@denx.de>
-
- 03 8月, 2010 1 次提交
-
-
由 Minkyu Kang 提交于
This patch adds support mmc driver for s5p SoC Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-