From bd7fe4160d28f164f15bdc44df1f6b7443a9454c Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Thu, 22 Oct 2015 15:05:02 +0200 Subject: [PATCH] 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 --- repos/os/src/drivers/sd_card/spec/imx53/esdhcv2.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/repos/os/src/drivers/sd_card/spec/imx53/esdhcv2.h b/repos/os/src/drivers/sd_card/spec/imx53/esdhcv2.h index 5ae798fe7..d6c688e89 100644 --- a/repos/os/src/drivers/sd_card/spec/imx53/esdhcv2.h +++ b/repos/os/src/drivers/sd_card/spec/imx53/esdhcv2.h @@ -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() != 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"); }