mmc: octeontx2: CMD19/21 type correction
commit d31c6e73fc606e9bcc812c1ce75bb40f7ba41b35 from git@git.assembla.com:cavium/WindRiver.linux.git The Octeon host controller assumes the return-type and bus-activity type of commands, so it can boot from eMMC without software assistance, and support minimal operation with minimal firmware. As some details differ between eMMC and SD-card dialects, and new commands are added as standards evolve, exceptions to this assumed ctype/rtype table may be forced as commands are issued, via MIO_EMM_CMD[CTYPE_XOR,RTYPE_XOR] fields. The driver's knowledge of the hardware's assumption about two tuning commands is incorrect: - BUSTEST_W (CMD19) is an output command; - MMC_SEND_TUNING_BLOCK_HS200 (CMD21) is an R1 read command. Now these can be issued without error. Change-Id: I60086d3164aee116cb6b1daf496691430da35544 Signed-off-by:Peter Swain <pswain@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com> Reviewed-on: https://sj1git1.cavium.com/8545 Tested-by:
Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com> Reviewed-by:
Chandrakala Chavva <cchavva@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/26907 Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment