]> git.dujemihanovic.xyz Git - u-boot.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)
commit0b33770b54a57cc5dcfc91a497dc5f044a0b2e92
treeae6ab9244ed16fbdff5a757e41d01560493ab2f8
parent872a9b81ee32336668f81d8221dfce41508584e4
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