[PATCH] firmware: zynqmp: Extend debug message to show parameters
Michal Simek
michal.simek at amd.com
Thu Jun 8 13:38:45 CEST 2023
On 6/1/23 13:34, Michal Simek wrote:
> Also print more arguments not just ID when xilinx_pm_request is called.
> It helps to decode what firmware is asked to do.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> drivers/firmware/firmware-zynqmp.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers/firmware/firmware-zynqmp.c
> index ab7e0389bb4a..ea46f7b8418c 100644
> --- a/drivers/firmware/firmware-zynqmp.c
> +++ b/drivers/firmware/firmware-zynqmp.c
> @@ -315,7 +315,8 @@ U_BOOT_DRIVER(zynqmp_power) = {
> int __maybe_unused xilinx_pm_request(u32 api_id, u32 arg0, u32 arg1, u32 arg2,
> u32 arg3, u32 *ret_payload)
> {
> - debug("%s at EL%d, API ID: 0x%0x\n", __func__, current_el(), api_id);
> + debug("%s at EL%d, API ID: 0x%0x, 0x%0x, 0x%0x, 0x%0x, 0x%0x\n",
> + __func__, current_el(), api_id, arg0, arg1, arg2, arg3);
>
> if (IS_ENABLED(CONFIG_SPL_BUILD) || current_el() == 3) {
> #if defined(CONFIG_ZYNQMP_IPI)
Applied.
M
More information about the U-Boot
mailing list