mmc: Update framework to use standard response type
authorYann Gautier <yann.gautier@st.com>
Fri, 28 Sep 2018 14:48:37 +0000 (16:48 +0200)
committerYann Gautier <yann.gautier@st.com>
Fri, 28 Sep 2018 14:48:37 +0000 (16:48 +0200)
commit97d5db8c5cb95c7ce69ff4d36bcda2aeda143576
treeb61812834ef6dd035c87aaaee00842624f46541a
parent07a2fd6af6a74df278be9d4b757e4ad037fd1687
mmc: Update framework to use standard response type

Respect official response type and update response to follow
official specification.
All the MMC_RESPONSE_R(_x) are replaced with each corresponding define.

Partly revert 2a82a9c95f6c06079f58d69315544a6b49cf64a4 for dw_mmc.c:
Responses R1, R1B and R5 have CRC.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/mmc/mmc.c
drivers/synopsys/emmc/dw_mmc.c
include/drivers/mmc.h