Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10775411imu; Thu, 6 Dec 2018 06:38:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjGJRRgaOExcYbZoWXN/uaDw124zt7s8defkKTDA6RfBn1CLzGk1v9Evab5DbIHoPJpW3I X-Received: by 2002:a62:938f:: with SMTP id r15mr28592696pfk.27.1544107102875; Thu, 06 Dec 2018 06:38:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544107102; cv=none; d=google.com; s=arc-20160816; b=FXqeVLWukITFLCh6STsOJsvlKYqSG+Iy/op06q6RdpyEFW5+nFyLvn2zXH1oyb5b/Z X79gcTgYhmDLjq1h/14wxVPVr/by/q2PgTd21pb8kVEZVy+cQlDXX4/iXKKOqrv145OF +ZvphZFiep+LEywC4yae8VQhXxWHQySvL5GcP7F7QU5Wb/x55ICoRPxzqDWsqQJ/LFWx M7vvrqXg5+fxuilQLMKctT59MnB6Lrr/e8xy5mQaDtD7jhDP+NHAvh4Bc1JyOsdRlNap 6T9zSo1jha5MIbrUlDj5uKO7eUE/AOflz0IbH365LYRgwLg7D/c+6RRLOL0mzhfX33Fx taVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=c8hF/+SJzS6BqXCKkyVut/6zNaa/6ViK12ac6+hk9dg=; b=LzbOVmnQp/FUm88Tj/jdxkru0Gs4FBIJbtxqX0ot3Hv0YIu15p/ilBkV/OM3MG87YB u6t7gEaRu1moB5oxVhk2WaIhbN45BuTj2w4xu9puL7ZAo+k8tnPvNVXHfn/d/hhRw83V PAM1i9ZbfT9PvQsx/NNcG8LtAhSvpfLJDwTbZUoU+HyjHKWz1oxTauGkrBh0p/0QM4p0 zHB7pXF1pZ6sJyPhI2ffS1nmd7wUQpHkrDsFhV2gAwZbH75AhGtNTW1kUgH+hropMvxb U08ItXPvpN+eHkHT8fSyhnBYi13Z1MbnBasWkATkuxB2KdW1j5zQetMxN2EexVSwMrYb ygyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si381599pgh.251.2018.12.06.06.37.59; Thu, 06 Dec 2018 06:38:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729589AbeLFOga (ORCPT + 99 others); Thu, 6 Dec 2018 09:36:30 -0500 Received: from mail.bootlin.com ([62.4.15.54]:43326 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729367AbeLFOg3 (ORCPT ); Thu, 6 Dec 2018 09:36:29 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 8D38620745; Thu, 6 Dec 2018 15:36:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED,URIBL_RHS_DOB shortcircuit=ham autolearn=disabled version=3.4.2 Received: from bbrezillon (aaubervilliers-681-1-79-44.w90-88.abo.wanadoo.fr [90.88.21.44]) by mail.bootlin.com (Postfix) with ESMTPSA id 139DA20CC5; Thu, 6 Dec 2018 15:36:10 +0100 (CET) Date: Thu, 6 Dec 2018 15:36:10 +0100 From: Boris Brezillon To: Ryder Lee Cc: Marek Vasut , Brian Norris , Rob Herring , Weijie Gao , , , , , , Guochun Mao Subject: Re: [RESEND PATCH 2/4] mtd: spi-nor: mtk-quadspi: use ofpart for parsing partitions Message-ID: <20181206153610.26db522c@bbrezillon> In-Reply-To: <6cca6844f426d4ad4e7c878420b363cfb34499aa.1543472168.git.ryder.lee@mediatek.com> References: <235ade9c5cda19fb0c9356913e3f56ad86600f59.1543472168.git.ryder.lee@mediatek.com> <6cca6844f426d4ad4e7c878420b363cfb34499aa.1543472168.git.ryder.lee@mediatek.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Nov 2018 14:29:54 +0800 Ryder Lee wrote: > From: Guochun Mao > > Replace mtd_device_register with mtd_device_parse_register for > parsing partitions and add ofpart support. What's the problem with the default partition parser table [1]? [1]https://elixir.bootlin.com/linux/latest/source/drivers/mtd/mtdpart.c#L793