From 2bb18991f14e37d6c7ea265d30b3430c3cc47609 Mon Sep 17 00:00:00 2001 From: zhaoyifeng Date: Wed, 16 Mar 2011 14:30:23 +0800 Subject: [PATCH] change emmc dma brst_len form 1 to 16 --- arch/arm/mach-rk29/rk29-pl330.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk29/rk29-pl330.c b/arch/arm/mach-rk29/rk29-pl330.c index ec290ddce682..9c1f2d03143a 100644 --- a/arch/arm/mach-rk29/rk29-pl330.c +++ b/arch/arm/mach-rk29/rk29-pl330.c @@ -456,7 +456,10 @@ static inline int rk29_pl330_submit(struct rk29_pl330_chan *ch, ch->rqcfg.brst_len = bl; } else { - ch->rqcfg.brst_len = 1; + if(ch->id == DMACH_EMMC) + ch->rqcfg.brst_len = 16; //yk + else + ch->rqcfg.brst_len = 1; } ret = pl330_submit_req(ch->pl330_chan_id, r); -- 2.34.1