firmware: zynqmp: get fw version with mailbox driver
authorIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Fri, 27 Sep 2019 10:37:00 +0000 (11:37 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:55:11 +0000 (09:55 +0200)
commit490f6273168287139bd7a1c703d1c7eef65e5a05
tree31de1fbc1c7c1aa028f458f3f91eedd0321b79f9
parent17eb88e4e59111199279c5f53bbdb2b34fcedadd
firmware: zynqmp: get fw version with mailbox driver

Implements the function to get PMU Firmware version using the mailbox
driver or smc call based on if running SPL or not. Additionally gets
version as part of the ZynqMP Firmware driver probing

Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/firmware/firmware-zynqmp.c