diff options
author | Michal Simek <michal.simek@xilinx.com> | 2022-01-14 13:25:36 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-01-19 15:14:29 +0100 |
commit | 12662e7034b4b6e070830e074f1cfab139dd21d6 (patch) | |
tree | 772acd0412e2d54ffdd4e42db52caa24110faf9a | |
parent | 71efd45a5fc70e29e391e0b57c700de8708ae6d9 (diff) | |
download | u-boot-12662e7034b4b6e070830e074f1cfab139dd21d6.tar.gz |
firmware: zynqmp: Move loading message to debug
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
-rw-r--r-- | drivers/firmware/firmware-zynqmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers/firmware/firmware-zynqmp.c index aa20e33b40..18a092c7b4 100644 --- a/drivers/firmware/firmware-zynqmp.c +++ b/drivers/firmware/firmware-zynqmp.c @@ -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)); |