mailbox: cmdq: variablize address shift in platform

Some gce hardware shift pc and end address in register to support
large dram addressing.
Implement gce address shift when write or read pc and end register.
And add shift bit in platform definition.

Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
Dennis YC Hsieh
2020-07-05 14:37:14 +08:00
committed by Jassi Brar
parent 6cb4f3b055
commit 0858fde496
2 changed files with 46 additions and 13 deletions

View File

@@ -88,4 +88,6 @@ struct cmdq_pkt {
void *cl;
};
u8 cmdq_get_shift_pa(struct mbox_chan *chan);
#endif /* __MTK_CMDQ_MAILBOX_H__ */