summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@nxp.com>2016-11-16 16:40:26 +0200
committerScott Wood <oss@buserror.net>2016-11-23 01:23:47 -0600
commitb539945286bdd2d7c4cb92ef1237873b1c00c778 (patch)
treee19e78e62a987eefa8f9463ab4e5975453f1acb0
parentd6753c7e65e70e90ea991797059f4204b66cf523 (diff)
soc/qman: Drop unused field from eqcr/dqrr descriptors
ORP ("Order Restoration Point") mechanism not supported. Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net>
-rw-r--r--drivers/soc/fsl/qbman/qman.c3
-rw-r--r--include/soc/fsl/qman.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c
index 06626bee0e7e..c679e0285ccd 100644
--- a/drivers/soc/fsl/qbman/qman.c
+++ b/drivers/soc/fsl/qbman/qman.c
@@ -141,7 +141,7 @@ struct qm_eqcr_entry {
u8 _ncw_verb; /* writes to this are non-coherent */
u8 dca;
u16 seqnum;
- u32 orp; /* 24-bit */
+ u8 __reserved[4];
u32 fqid; /* 24-bit */
u32 tag;
struct qm_fd fd;
@@ -470,7 +470,6 @@ static inline struct qm_eqcr_entry *qm_eqcr_start_stash(struct qm_portal
static inline void eqcr_commit_checks(struct qm_eqcr *eqcr)
{
DPAA_ASSERT(eqcr->busy);
- DPAA_ASSERT(eqcr->cursor->orp == (eqcr->cursor->orp & 0x00ffffff));
DPAA_ASSERT(!(eqcr->cursor->fqid & ~QM_FQID_MASK));
DPAA_ASSERT(eqcr->available >= 1);
}
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h
index f3fa53fef421..20bbc716a6a8 100644
--- a/include/soc/fsl/qman.h
+++ b/include/soc/fsl/qman.h
@@ -279,8 +279,7 @@ union qm_mr_entry {
u8 dca;
u16 seqnum;
u8 rc; /* Rej Code: 8-bit */
- u8 orp_hi; /* ORP: 24-bit */
- u16 orp_lo;
+ u8 __reserved[3];
u32 fqid; /* 24-bit */
u32 tag;
struct qm_fd fd;