[PATCH 2/2] pinctrl: Set PINNAME_SIZE to 16

Patrice Chotard patrice.chotard at foss.st.com
Mon Jan 11 15:03:47 CET 2021


To allow to print longer pin name, set PINNAME_SIZE to 16.

Fixes: d5a8313905f5("cmd: pinmux: Add pinmux command")

Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.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 1bdc8d3cbd..2f09c7fa49 100644
--- a/include/dm/pinctrl.h
+++ b/include/dm/pinctrl.h
@@ -6,7 +6,7 @@
 #ifndef __PINCTRL_H
 #define __PINCTRL_H
 
-#define PINNAME_SIZE	10
+#define PINNAME_SIZE	16
 #define PINMUX_SIZE	40
 
 /**
-- 
2.17.1



More information about the U-Boot mailing list