From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2E13C2B9F4 for ; Fri, 25 Jun 2021 13:07:02 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5071B6192F for ; Fri, 25 Jun 2021 13:07:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5071B6192F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 984E882C27; Fri, 25 Jun 2021 15:06:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=cerno.tech Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=cerno.tech header.i=@cerno.tech header.b="1Jg/t3M1"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="O7kW+72s"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A311B82C17; Fri, 25 Jun 2021 15:06:06 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 50DEB82C0C for ; Fri, 25 Jun 2021 15:06:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=cerno.tech Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxime@cerno.tech Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8BCB55C00A6; Fri, 25 Jun 2021 09:06:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 25 Jun 2021 09:06:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=aWYNnY74EPyaP L9FRlTwd3zIEHnyYWXWhepy289kKOg=; b=1Jg/t3M1ilXlXIDPDu6sXh+Q1HRCa NI3/K27WaRevwe3wbYqC09bjpsQkbLgHArQ6kamAIetRKoyg5r/kYlfu5GIOHq+p DL1CfFiZ1GqVGK/Avn6YOfvjePnUM8byynkXWSaPt9jfOoFmWDqTT5QZkkUZ3lIZ zQf3N+C66h7h2zH1d1wpOw4IEp09g/KxMs2GTOgf3eJSTgwkVG/9hyYavbh8H4li SrzSJpFAp1Wf1/wDKNo6RRZqcVM/qJuQ/IwtpVGfSdxYUQ1jnNX3CzCqz9HtNJp4 kXM77ywBU34Do9lFmLSkwUgK4R8AhdfDRoV2Kq1q/51pcDESzgy6RoBlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=aWYNnY74EPyaPL9FRlTwd3zIEHnyYWXWhepy289kKOg=; b=O7kW+72s VfidP3kEsNJsfJfz1xkyCViaax8cd9ymJHSNAgZiBDhZKC1pldv3MZBKPbNbVUn1 wRjYd82fCPNh+ByZRmEzFFpZNy7KHXG1AnZFXbcFWmt4KXh7gMGVbeylXUuGWZqG idBpJVDDd+56p+QwlvTF1+mOaiPN0GjSw9DepFCPYXqA8hgnGtgGnsKl4lxCwfg+ UGn/aHYSYL6EpHcKjInI+ixc80qjH/OGsuPSO4kc7kyNwbvwIkekv5E0qlWv5JWr y5HaKjSGLYQQkRpy8/TzgvAV8jTX0kgtLtuPdTFXJk8OBsOJZ7Mde6PgFcE3SZcN vB+/sKV06MjBBw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegjedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Jun 2021 09:05:59 -0400 (EDT) From: Maxime Ripard To: u-boot@lists.denx.de, Andre Przywara Cc: Peng Fan , Li Jun , Marek Vasut , Tom Rini , Miquel Raynal , Jagan Teki , Maxime Ripard Subject: [PATCH 05/12] mtd: Allow for a longer mtdparts table Date: Fri, 25 Jun 2021 15:05:40 +0200 Message-Id: <20210625130547.2177920-6-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210625130547.2177920-1-maxime@cerno.tech> References: <20210625130547.2177920-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 20 characters is fairly short for a partition table, let's increase it a bit. Signed-off-by: Maxime Ripard --- drivers/mtd/mtd_uboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -#define MTD_NAME_MAX_LEN 20 +#define MTD_NAME_MAX_LEN 64 void board_mtdparts_default(const char **mtdids, const char **mtdparts); -- 2.31.1