]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: mmc: Hack for mmc driver to handle CMD6
authorJagan <jaganna@xilinx.com>
Fri, 8 Jun 2012 15:19:05 +0000 (20:49 +0530)
committerJohn Linn <john.linn@xilinx.com>
Fri, 8 Jun 2012 19:52:25 +0000 (12:52 -0700)
Added CMD6 in driver to remove Unknown command messages
on u-boot console. This fix needs to be updated when CMD6
functionality support is added.

Signed-off-by: Jagan <jaganna@xilinx.com>
drivers/mmc/zynq_mmc.c

index f97aa70efebfd430752fa04f479ba6d28930a499..820acd26e43d2d02ab9eca0eb16624fb6aed6a7e 100755 (executable)
@@ -113,6 +113,7 @@ static void init_port(void)
 #define CMD2    (2)            /* SEND_CID */
 #define CMD3    (3)            /* RELATIVE_ADDR */
 #define CMD5   (5)                     /* SLEEP_WAKE (SDC) */
+#define CMD6   (6)             /* SWITCH_FUNC */
 #define CMD7   (7)                     /* SELECT */
 #define CMD8   (8)                     /* SEND_IF_COND */
 #define CMD9   (9)                     /* SEND_CSD */
@@ -200,6 +201,7 @@ make_command (unsigned cmd)
                retval |= RSP_R1;
                break;
        case CMD58:
+       case CMD6:
                break;
        default:
                printf("Unknown command\n");