dw_mmc: Calculate dwmmc FIFO threshold size if not provided
authorSimon Glass <sjg@chromium.org>
Fri, 7 Aug 2015 02:16:29 +0000 (20:16 -0600)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Thu, 13 Aug 2015 08:24:26 +0000 (11:24 +0300)
commit760177dff4662d000c7b1331ec93b2ea4fbd564e
tree124364e5bd5d87e82057983afa72023c9d44f1e3
parent1c87ffe8d1eef2c759b97129fd48e218a039cbcd
dw_mmc: Calculate dwmmc FIFO threshold size if not provided

We can calculate this. Add code to do this if it is not provided.

panto: prefix changed to dw_mmc to make things easier to grep

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c