sd_card & imx53: fix initialization problem on QSB

On i.MX53 QSB, a "Send Op Cond" command during the driver initialization
returns another response value than on the USB Armory. As the check for
this response seems to have no relevance for the driver functionality (Linux
reads the value from MMIO but I can't find a place in the source code where
it is used), we simply remove it.

Ref #1497
This commit is contained in:
Martin Stein 2015-10-22 15:05:02 +02:00 committed by Christian Helmuth
parent d8e91908a2
commit bd7fe4160d
1 changed files with 0 additions and 3 deletions

View File

@ -493,9 +493,6 @@ struct Esdhcv2_controller : private Esdhcv2, public Sd_card::Host_controller
if (!issue_command(Sd_send_op_cond(0, false))) {
_detect_err("Sd_send_op_cond command failed"); }
if (read<Cmdrsp0>() != 0xff8000) {
_detect_err("Unexpected response of Sd_send_op_cond command"); }
_delayer.usleep(1000);
if (!issue_command(Go_idle_state())) {
_detect_err("Go_idle_state command failed"); }