Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp156794imu; Thu, 6 Dec 2018 21:45:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ved53RNQGz6wqQOz+TX4rwaXnW6rbvWbvGMItKQakkVdf+wO5O/ZjJUgPerMLysYsu1l4A X-Received: by 2002:a63:9402:: with SMTP id m2mr777091pge.93.1544161515523; Thu, 06 Dec 2018 21:45:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544161515; cv=none; d=google.com; s=arc-20160816; b=KpW3RjNR8LV8zOU2MqmUnKcFaOYiNSMS0UohcFk8Bq2jTNP12foCmDnNB4UCZJ1d6f Io4nmFnRNvMGhrf+iEATv63BJA/6URVY7igREVcjYtxJ2SdjWk4IZfI9LWzgf+nxCouF NGYYh8AL9KYZcOMVQWqLUjWjoR2lYob7VByiO79zt73Y80TB8u/+9JyZWww8XKG+jvOY GoqmnN/UQDPbP97hmDmHKG5sgeELCaychZ/rybpxvyyEM4IYmW8w1qCQqJkAjgR4CF62 DzRWbV5svdscsZ7pYNpeAS9uvlbdhtDMdnl4MkposUr8xIho4XqgFm6MJa5Lf4r1YL1A w2Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=34FY2DpsTLvaCAhdluU5x/LWdAlV3lVhdBwcNelu2EM=; b=qgy4pOYSw96FIJ7kzcoR9vEkO3O/SvZscNejDynZziLOJhtrsFi7pr7IvoeixltdQ9 ZzXIm2UMOuqRwU49rMzaA1OaoHOUvS3mEDziFGY9Gu/nvYbNhavYgRE+eSII9Ic8187r +i4ZSR2OPXfuizqUsOKE9ibh62n+u71Rng7nc021iWGKVvC7yXupaAOhSH3+8CMHFrvR vMpc/9ka25oigd5RpW+WFkIPpUCo46Apw0PvsTpo7XzI2grGpK/vQVtX3DFR/j16xm/U Nt3n6r5QqECWZsJxlfmH7cBq+jEcHxGYhoxwKONIS5QvtEtFZ+CW+/BvMa3Tjuwhi3rz P4jw== 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 l185si2027762pgd.253.2018.12.06.21.45.00; Thu, 06 Dec 2018 21:45:15 -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 S1726020AbeLGFoG (ORCPT + 99 others); Fri, 7 Dec 2018 00:44:06 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:7862 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725952AbeLGFoG (ORCPT ); Fri, 7 Dec 2018 00:44:06 -0500 X-UUID: d8ebf40d5dd2418b8e511b6b63ee64b3-20181207 X-UUID: d8ebf40d5dd2418b8e511b6b63ee64b3-20181207 Received: from mtkcas35.mediatek.inc [(172.27.4.250)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 615148597; Fri, 07 Dec 2018 13:44:01 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 7 Dec 2018 13:44:00 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 7 Dec 2018 13:43:59 +0800 Message-ID: <1544161439.8955.3.camel@mhfsdcap03> Subject: Re: [RESEND PATCH 2/4] mtd: spi-nor: mtk-quadspi: use ofpart for parsing partitions From: Guochun Mao To: Boris Brezillon CC: Ryder Lee , Marek Vasut , Brian Norris , Rob Herring , Weijie Gao , , , , , Date: Fri, 7 Dec 2018 13:43:59 +0800 In-Reply-To: <20181206153610.26db522c@bbrezillon> References: <235ade9c5cda19fb0c9356913e3f56ad86600f59.1543472168.git.ryder.lee@mediatek.com> <6cca6844f426d4ad4e7c878420b363cfb34499aa.1543472168.git.ryder.lee@mediatek.com> <20181206153610.26db522c@bbrezillon> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-12-06 at 15:36 +0100, Boris Brezillon wrote: > 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 No problem here. This patch can be dropped. Please help review others. Thanks.