]> git.baikalelectronics.ru Git - kernel.git/commit
memory: brcmstb: dpfe: support new way of passing data from the DCPU
authorMarkus Mayer <mmayer@broadcom.com>
Tue, 13 Feb 2018 20:40:40 +0000 (12:40 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 23 Feb 2018 18:56:59 +0000 (10:56 -0800)
commit91e9f8bb15e30f1bb082ba858649cac1a759fc4f
tree74cc6257c8db33ad6a60ee68c9a9ab251d6ed6ec
parentc17cc9d05b7e74de8193a0e57176afea53d088fc
memory: brcmstb: dpfe: support new way of passing data from the DCPU

The DCPU can now send message data in two ways:
  - via the data RAM, as before (this is now message type 0)
  - via the message RAM (this is message type 1)

In order to support both methods, we check the message type of the
response (bits 31:28) and then treat the offset (bits 27:0)
accordingly.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/memory/brcmstb_dpfe.c