arm64: xilinx: Move firmware functions from platform to driver