[PATCH 1/2] pinctrl: Increase length of pinmux status buffer

Michal Simek monstr at monstr.eu
Mon Mar 7 08:57:59 CET 2022


st 23. 2. 2022 v 15:23 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
>
> Xilinx ZynqMP SOC can set 6 parameters for its pins. pinmux status
> command will print the status of these parameters for each pin. But
> current print buffer length is only 40 characters long, increase it
> to 80 to print all the parameters.
>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  include/dm/pinctrl.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
> index 0c461e56bb48..a09b242fd990 100644
> --- a/include/dm/pinctrl.h
> +++ b/include/dm/pinctrl.h
> @@ -7,7 +7,7 @@
>  #define __PINCTRL_H
>
>  #define PINNAME_SIZE   10
> -#define PINMUX_SIZE    40
> +#define PINMUX_SIZE    80
>
>  /**
>   * struct pinconf_param - pin config parameters
> --
> 2.35.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list