]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: zynqmp: Change loadable config object from APU_0 to OCM_BANK_0
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Fri, 30 Sep 2022 07:37:26 +0000 (09:37 +0200)
committerMichal Simek <michal.simek@amd.com>
Wed, 5 Oct 2022 09:36:54 +0000 (11:36 +0200)
commitef2896a4d218fe54b261ba63ea0ec3682b2eea29
tree46f21d1e73966b93d2a7b0df2da47c665fbca6f6
parent52a504c5c004be30b62f19e4334e5ea4ecd61a0d
firmware: zynqmp: Change loadable config object from APU_0 to OCM_BANK_0

To check dynamic loading of config object, currently APU_0 is used.
Suggestion from pmwfw team is to load OCM_BANK_0 and check for
XST_PM_NO_ACCESS error only to skip future config objects. Other errors
should not be considered for skipping. Change from NODE_APU_0 to
NODE_OCM_BANK_0 and check for XST_PM_NO_ACCESS to skip future config
objects.

Add ":  " to printf statement when there is no permission to load config
object, to align with PMUFW version print.

Update kernel doc for return value for zynqmp_pmufw_load_config_object().

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/2784018844ba4afced0e3edff76bdbfe532f517d.1664523444.git.michal.simek@amd.com
drivers/firmware/firmware-zynqmp.c