diff options
author | Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> | 2020-07-05 14:37:14 +0800 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2020-08-03 23:56:38 -0500 |
commit | 0858fde496f84fff2fdae53d9e33c7b308195f74 (patch) | |
tree | dea686235ff46134e4fddc1dd3f3b753c13e3369 /include | |
parent | 6cb4f3b055fe42bb0f20c6ad6401d325b39d1e2a (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mailbox/mtk-cmdq-mailbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h index a4dc45fbec0a..c342b8799be8 100644 --- a/include/linux/mailbox/mtk-cmdq-mailbox.h +++ b/include/linux/mailbox/mtk-cmdq-mailbox.h @@ -88,4 +88,6 @@ struct cmdq_pkt { void *cl; }; +u8 cmdq_get_shift_pa(struct mbox_chan *chan); + #endif /* __MTK_CMDQ_MAILBOX_H__ */ |