bus/fslmc: enhance the QBMAN CENA mode

Signed-off-by: Haiying Wang <haiying.wang@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
Haiying Wang 2017-09-16 16:22:19 +05:30 committed by Ferruh Yigit
parent 07d862ea1e
commit f739d6f8f2

View File

@ -217,7 +217,6 @@ static inline void qbman_cena_write_complete_wo_shadow(struct qbman_swp_sys *s,
#ifdef QBMAN_CENA_TRACE
pr_info("qbman_cena_write_complete(%p:%d:0x%03x)\n",
s->addr_cena, s->idx, offset);
hexdump(cmd, 64);
#endif
dcbf(s->addr_cena + offset);
}
@ -251,11 +250,7 @@ static inline void *qbman_cena_read_wo_shadow(struct qbman_swp_sys *s,
{
#ifdef QBMAN_CENA_TRACE
pr_info("qbman_cena_read(%p:%d:0x%03x) %p\n",
s->addr_cena, s->idx, offset, shadow);
#endif
#ifdef QBMAN_CENA_TRACE
hexdump(shadow, 64);
s->addr_cena, s->idx, offset);
#endif
return s->addr_cena + offset;
}