habanalabs: Move device CPU code into common file

This patch moves the code that is responsible of the communication
vs. the F/W to a dedicated file. This will allow us to share the code
between different ASICs.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
Tomer Tayar 2019-03-04 10:22:09 +02:00 • committed by Oded Gabbay
commit 3110c60fdc
6 changed files with 408 additions and 316 deletions