firmware: zynqmp: Change panic logic in zynqmp_pmufw_load_config_object()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 27 Apr 2020 09:51:40 +0000 (11:51 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 24 Jun 2020 11:07:57 +0000 (13:07 +0200)
commit4c86e0834aeb3ae06389534ccbc90b8bcf5d95bf
tree3dee3c96bdbe3420540ec03c48aa9a26fefcc54a
parent2b2012d1c1d8515417ba139339d0aa9b47789dca
firmware: zynqmp: Change panic logic in zynqmp_pmufw_load_config_object()

There is no need to panic all the time when pmufw config object loading
failed. The patch improves function logic to report permission deny case
and also panic only for SPL case.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
drivers/firmware/firmware-zynqmp.c