Dear Amar, On 27/03/13 14:18, Amarendra Reddy wrote: > Dear Minkyu, >
please don't top posting. > The definition of "RX_WMARK" is present in "[PATCH V7 04/10] EXYNOS5: DWMMC: > Added FDT support for DWMMC". > > Here is the URL, > http://www.mail-archive.com/u-boot@lists.denx.de/msg107515.html Then please move it to this patch. > > Thanks & Regards > Amarendra Reddy > > On 27 March 2013 10:33, Minkyu Kang <mk7.k...@samsung.com > <mailto:mk7.k...@samsung.com>> wrote: > > Dear Amar, > > On 05/12/12 22:31, Amar wrote: > > The current implementation of fifo size computation was giving improper > > values for eMMC channel. Modified the computation as per user manual. > > > > Signed-off-by: Amarendra Reddy <amarendra...@samsung.com > <mailto:amarendra...@samsung.com>> > > --- > > drivers/mmc/dw_mmc.c | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c > > index 4070d4e..62dc152 100644 > > --- a/drivers/mmc/dw_mmc.c > > +++ b/drivers/mmc/dw_mmc.c > > @@ -332,6 +332,8 @@ static int dwmci_init(struct mmc *mmc) > > dwmci_writel(host, DWMCI_BMOD, 1); > > > > fifo_size = dwmci_readl(host, DWMCI_FIFOTH); > > + fifo_size = ((fifo_size & RX_WMARK(0xFFF)) >> 16) + 1; > > The definition of RX_WMARK is missing. > > > + > > if (host->fifoth_val) > > fifoth_val = host->fifoth_val; > > else > > > > Thanks, > Minkyu Kang. > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de <mailto:U-Boot@lists.denx.de> > http://lists.denx.de/mailman/listinfo/u-boot > > Thanks, Minkyu Kang. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot