u-boot/drivers/mmc
Marek Vasut a3f0a7d5b5 mmc: sh_sdhi: Fix the ACMD handling
The command handling in this driver is awful, esp. because the driver
depends on command numbers to determine whether this is APPCMD or not.
Also, handling of command RSP response types is totally wrong.

This patch at least plucks out some of the custom command encoding and
fixes the APPCMD handling. The RSP handling still needs work, yet that
might not be needed as it turns out the uniphier-sd.c driver is in much
better shape and supports the same IP, so we might be able to just drop
this driver in favor of the uniphier one.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2017-08-17 14:38:02 +09:00
..
arm_pl180_mmci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
atmel_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
bcm2835_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
davinci_mmc.c mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
dw_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
exynos_dw_mmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
fsl_esdhc.c mmc: fsl_esdhc: not always setting esdhc fdt status to okay 2017-08-09 09:57:32 -07:00
fsl_esdhc_spl.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
ftsdc010_mci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
gen_atmel_mci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
hi6220_dw_mmc.c driver: mmc: update debug info 2017-07-10 14:26:03 -04:00
Kconfig dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
kona_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
Makefile dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
meson_gx_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mmc-uclass.c dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
mmc.c dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
mmc_boot.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mmc_legacy.c dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
mmc_private.h dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
mmc_spi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mmc_write.c dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
msm_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mv_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
mvebu_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxcmmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxsmmc.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
omap_hsmmc.c dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
pci_mmc.c x86: Convert MMC to driver model 2017-08-01 20:17:02 +08:00
pic32_sdhci.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
pxa_mmc_gen.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
rockchip_dw_mmc.c Revert "mmc: dw_mmc: rockchip: select proper card clock" 2017-07-11 12:13:47 +02:00
rockchip_sdhci.c rockchip: mmc: dm: convert fdt_get to dev_read 2017-07-11 12:13:43 +02:00
rpmb.c mmc: rpmb: update size format for write_counter 2017-07-19 19:13:59 +09:00
s5p_sdhci.c dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci-cadence.c mmc: cadence: use fdt32_t for DT property value to fix sparse warning 2017-07-19 19:13:59 +09:00
sdhci.c mmc: sdhci: Fix maximum clock for programmable clock mode 2017-05-15 18:28:22 +09:00
sh_mmcif.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c mmc: sh_sdhi: Fix the ACMD handling 2017-08-17 14:38:02 +09:00
socfpga_dw_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sti_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sunxi_mmc.c dm: mmc: sunxi: Add support for driver model 2017-08-01 11:58:01 +09:00
tangier_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
tegra_mmc.c dm: tegra: mmc: Convert to livetree 2017-07-28 12:02:47 -06:00
uniphier-sd.c mmc: uniphier-sd: Fix long response processing 2017-08-17 14:36:05 +09:00
xenon_sdhci.c dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
zynq_sdhci.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00