]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
firmware: zynqmp: Move loading message to debug
authorMichal Simek <michal.simek@xilinx.com>
Fri, 14 Jan 2022 12:25:36 +0000 (13:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Jan 2022 14:14:29 +0000 (15:14 +0100)
Power domain driver is using this function for every IP which is PD listed.
This can end up with a lot of messages which end up in boot log. That's why
show it only in EL3 as was used in past.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/d73fc8bc663110b6e8d5e70fdb6435d1199e9db8.1642163135.git.michal.simek@xilinx.com
drivers/firmware/firmware-zynqmp.c

index aa20e33b4046f708530e90f27d0f7a40a457daa3..18a092c7b45e82807c5ca9e269248ce4492f3d28 100644 (file)
@@ -98,7 +98,8 @@ void zynqmp_pmufw_load_config_object(const void *cfg_obj, size_t size)
        int err;
        u32 ret_payload[PAYLOAD_ARG_CNT];
 
-       printf("Loading new PMUFW cfg obj (%ld bytes)\n", size);
+       if (IS_ENABLED(CONFIG_SPL_BUILD))
+               printf("Loading new PMUFW cfg obj (%ld bytes)\n", size);
 
        flush_dcache_range((ulong)cfg_obj, (ulong)(cfg_obj + size));