From: Vitaly Andrianov Date: Sat, 19 Sep 2015 10:56:49 +0000 (+0530) Subject: dma: keystone_nav: Fix linkram size X-Git-Tag: v2016.01-rc1~254 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc3003b99928c8976961a8d9bc3a899a7eb2bab4;p=oweals%2Fu-boot.git dma: keystone_nav: Fix linkram size Fix Linkram size. Signed-off-by: Vitaly Andrianov Signed-off-by: Mugunthan V N Signed-off-by: Lokesh Vutla --- diff --git a/drivers/dma/keystone_nav.c b/drivers/dma/keystone_nav.c index dfca75abdc..5a65b62a39 100644 --- a/drivers/dma/keystone_nav.c +++ b/drivers/dma/keystone_nav.c @@ -54,7 +54,7 @@ int _qm_init(struct qm_config *cfg) qm_cfg = cfg; qm_cfg->mngr_cfg->link_ram_base0 = qm_cfg->i_lram; - qm_cfg->mngr_cfg->link_ram_size0 = HDESC_NUM * 8; + qm_cfg->mngr_cfg->link_ram_size0 = HDESC_NUM * 8 - 1; qm_cfg->mngr_cfg->link_ram_base1 = 0; qm_cfg->mngr_cfg->link_ram_size1 = 0; qm_cfg->mngr_cfg->link_ram_base2 = 0;