mmc: mmci: Add ARM variant with extended FIFO

New IO FPGA implementation for Versatile Express boards contain
MMCI (PL180) cell with FIFO extended to 128 words (512 bytes).

Matt Waddel reports that this patch improves MMC performance on
his vexpress system, and also fixes "mmcblk0: error -5 transferring
data" errors.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Tested-by: Matt Waddel <matt.waddel@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

authored by Pawel Moll and committed by Chris Ball 768fbc18 a5289a43

+12 -1
+12 -1
drivers/mmc/host/mmci.c
··· 68 68 .datalength_bits = 16, 69 69 }; 70 70 71 + static struct variant_data variant_arm_extended_fifo = { 72 + .fifosize = 128 * 4, 73 + .fifohalfsize = 64 * 4, 74 + .datalength_bits = 16, 75 + }; 76 + 71 77 static struct variant_data variant_u300 = { 72 78 .fifosize = 16 * 4, 73 79 .fifohalfsize = 8 * 4, ··· 1283 1277 static struct amba_id mmci_ids[] = { 1284 1278 { 1285 1279 .id = 0x00041180, 1286 - .mask = 0x000fffff, 1280 + .mask = 0xff0fffff, 1287 1281 .data = &variant_arm, 1282 + }, 1283 + { 1284 + .id = 0x01041180, 1285 + .mask = 0xff0fffff, 1286 + .data = &variant_arm_extended_fifo, 1288 1287 }, 1289 1288 { 1290 1289 .id = 0x00041181,