mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-02 18:30:15 +08:00
soc/qman: Do not enable stashing without PAMU
Do not enable stashing in the QMan software portal configuration (QCSPi_CFG[RE, SE]) in case the PAMU support is not configured. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
e2d48f5335
commit
1908686c31
@ -607,7 +607,9 @@ static inline int qm_dqrr_init(struct qm_portal *portal,
|
|||||||
((max_fill & (QM_DQRR_SIZE - 1)) << 20) | /* DQRR_MF */
|
((max_fill & (QM_DQRR_SIZE - 1)) << 20) | /* DQRR_MF */
|
||||||
((dmode & 1) << 18) | /* DP */
|
((dmode & 1) << 18) | /* DP */
|
||||||
((cmode & 3) << 16) | /* DCM */
|
((cmode & 3) << 16) | /* DCM */
|
||||||
|
#ifndef CONFIG_FSL_PAMU
|
||||||
0xa0 | /* RE+SE */
|
0xa0 | /* RE+SE */
|
||||||
|
#endif
|
||||||
(0 ? 0x40 : 0) | /* Ignore RP */
|
(0 ? 0x40 : 0) | /* Ignore RP */
|
||||||
(0 ? 0x10 : 0); /* Ignore SP */
|
(0 ? 0x10 : 0); /* Ignore SP */
|
||||||
qm_out(portal, QM_REG_CFG, cfg);
|
qm_out(portal, QM_REG_CFG, cfg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user