]> git.baikalelectronics.ru Git - uboot.git/commit
xilinx: zynqmp: Load pmufw configuration before checking access
authorMichal Simek <michal.simek@amd.com>
Wed, 5 Oct 2022 09:39:27 +0000 (11:39 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 10 Oct 2022 10:28:08 +0000 (12:28 +0200)
commita9c25e39b688916c4a2839907da06d1c288ddb66
treeae6ab9244ed16fbdff5a757e41d01560493ab2f8
parent5fe6dbafb17c1406c20c0e2295a83126bfaae534
xilinx: zynqmp: Load pmufw configuration before checking access

Before this patch you could see in the log:
U-Boot SPL 2022.10-rc5 (Sep 29 2022 - 15:29:27 +0200)
PMUFW: v1.1
Loading new PMUFW cfg obj (32 bytes)
PMUFW:  No permission to change config object
Loading new PMUFW cfg obj (2032 bytes)

where it is visible that permission is check before sending PMUFW
configuration (big size).

When this patch is applied it is visible that order is correct.
U-Boot SPL 2022.10-rc5 (Sep 29 2022 - 15:47:08 +0200)
Loading new PMUFW cfg obj (2032 bytes)
PMUFW: v1.1
Loading new PMUFW cfg obj (32 bytes)

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/a0bf4f46d670023da4f848790eece6fff22090c2.1664962765.git.michal.simek@amd.com
board/xilinx/zynqmp/zynqmp.c