diff mbox series

[05/12] mtd: Allow for a longer mtdparts table

Message ID 20210625130547.2177920-6-maxime@cerno.tech
State RFC
Delegated to: Andre Przywara
Headers show
Series Random Fixes for the CHIP Pro | expand

Commit Message

Maxime Ripard June 25, 2021, 1:05 p.m. UTC
20 characters is fairly short for a partition table, let's increase it a
bit.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
 drivers/mtd/mtd_uboot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/mtd/mtd_uboot.c b/drivers/mtd/mtd_uboot.c
index c53ec657a34d..3b54d0ba6e95 100644
--- a/drivers/mtd/mtd_uboot.c
+++ b/drivers/mtd/mtd_uboot.c
@@ -15,7 +15,7 @@ 
 #include <asm/global_data.h>
 #include <mtd.h>
 
-#define MTD_NAME_MAX_LEN 20
+#define MTD_NAME_MAX_LEN 64
 
 void board_mtdparts_default(const char **mtdids, const char **mtdparts);