Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2555480rdb; Wed, 4 Oct 2023 05:07:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY0g20+npFl1+bfttXBCzuk22GyXou8bDFEHONhcwLG6wv3MXL20DVIgKkXYVT/4+DRQ1D X-Received: by 2002:a17:902:c643:b0:1c5:ecfb:b6b9 with SMTP id s3-20020a170902c64300b001c5ecfbb6b9mr1904175pls.35.1696421234073; Wed, 04 Oct 2023 05:07:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696421234; cv=none; d=google.com; s=arc-20160816; b=jKdt2a3VLAXDXZVY72cVhFUe4foQW+4SzpzSpHjzzNkGkVW1DtgHCK+lMOA5ScDs1j 4adcDbNH1RDzMKMzD6l2MUuENbZtoD9URq1MVJCIlkLYzgHwuuRv6bafjw1ca7m415Sa wPmVf20gyW5LLTclkMXKUFT7jjG3o3YdCrWS20TZghoMxRE0xbH4bwvCK94go4Fcm/dE eXURC4j2kGe0UAvh7EmprdZwtm8OJOAjO48TaXCggsMwMwmmw3h3pNiH6lK7n7WE8zLL J0VVfn99NrXuuz4OA5b/lQ1dV7jtpX0xdDamVMKjzVw5TFSZPivQXf3LPjNeUM/c/iBL yl/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EPTKeFglX7dM/p2v3QBKBbMq4tebhRuV4spzJSVfp+g=; fh=xGh/lAqI2Yt7K5rXcspx8PHLXfSPUO2cQzFc34rOkfE=; b=V5tSWVHjdnsmzTFZgxmS/H9toF1uzdZF+SqyhqgogMI3ZSKIHnoS0veGJerH1zlQoe tRKEh72ng9sAp71ap3T79oNdMWht/CM9pboH1Fcs6r5aQEmY3GbkN/5sZO94IYIP/Hdw LDqW44qel9FVcd++K0IEIzdi5lxOwqrNLsGavLoAG/cOQ1K05SKrpCS1lULOFm7Hl5XR a6mPaBGO6iRfW+C6BN6IOTCxALvtZuxKfhzOs1nevDMNQk2Gz7hYPCBNLEmSoDZL0WMm Pw8uBHeAeDA7v2KxsrTDg9/7LdMtscc+NpbLG3loIBx9rufUUFxoXTj8f/rIFNI6CEsd DVxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YjJEnsdk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o17-20020a17090323d100b001c58ac5b753si3364109plh.120.2023.10.04.05.07.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:07:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YjJEnsdk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id EE383833F8E0; Wed, 4 Oct 2023 05:07:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233074AbjJDMHM (ORCPT + 99 others); Wed, 4 Oct 2023 08:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232912AbjJDMHL (ORCPT ); Wed, 4 Oct 2023 08:07:11 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 856E5A1; Wed, 4 Oct 2023 05:07:08 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 394C6vq6057376; Wed, 4 Oct 2023 07:06:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696421217; bh=EPTKeFglX7dM/p2v3QBKBbMq4tebhRuV4spzJSVfp+g=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=YjJEnsdkh7x6gve/XK9o3dNkUKTlJ/eiWJj8S2CCwi5i93yhrz4MBnDhyIjOP8lJC Owd4wHOCs92M871q6cgdr4Sgti9c7095ihik7pECSJfdKNgZIONygj9874Y/a2z8Ee aOPm6e5BpjaqkzMzjKddE1OLyoKpVvIY5ZKSqJLI= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 394C6vN1085320 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Oct 2023 07:06:57 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 4 Oct 2023 07:06:57 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 4 Oct 2023 07:06:57 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 394C6vFJ019726; Wed, 4 Oct 2023 07:06:57 -0500 Date: Wed, 4 Oct 2023 07:06:57 -0500 From: Nishanth Menon To: Roger Quadros CC: Nitin Yadav , , , , , , , , , , Subject: Re: [PATCH v2 3/3] arm64: defconfig: Enable GPMC NAND support Message-ID: <20231004120657.hdmo5r6lzyohiodq@gauging> References: <20231004111238.3968984-1-n-yadav@ti.com> <20231004111238.3968984-4-n-yadav@ti.com> <6ad28b45-815c-723a-117e-84782753a361@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <6ad28b45-815c-723a-117e-84782753a361@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 05:07:13 -0700 (PDT) On 14:26-20231004, Roger Quadros wrote: > > > On 4.10.2023 14.12, Nitin Yadav wrote: > > Enable config required to support GPMC NAND on > > AM62x LP SK and AM64x SKEVM. > > > > Signed-off-by: Nitin Yadav > > --- > > arch/arm64/configs/defconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index 66bfbef73324..a2758ac73f87 100644 > > --- a/arch/arm64/configs/defconfig > > +++ b/arch/arm64/configs/defconfig > > @@ -270,6 +270,8 @@ CONFIG_MTD_DATAFLASH=y > > CONFIG_MTD_SST25L=y > > CONFIG_MTD_RAW_NAND=y > > CONFIG_MTD_NAND_DENALI_DT=y > > +CONFIG_MTD_NAND_OMAP2=m > > If rootfs is required on NAND, it is better to be built-in. > > > +CONFIG_MTD_NAND_OMAP_BCH=y > > CONFIG_MTD_NAND_MARVELL=y > > CONFIG_MTD_NAND_BRCMNAND=m > > CONFIG_MTD_NAND_FSL_IFC=y > > @@ -1357,6 +1359,7 @@ CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m > > CONFIG_EXTCON_PTN5150=m > > CONFIG_EXTCON_USB_GPIO=y > > CONFIG_EXTCON_USBC_CROS_EC=y > > +CONFIG_OMAP_GPMC=m > > This is a memory controller so better to be built-in. > > > CONFIG_RENESAS_RPCIF=m > > CONFIG_IIO=y > > CONFIG_EXYNOS_ADC=y For the boards mentioned, NAND is optional and not a primary rootfs storage media - I'd rather leave it as "m" and not impact the size of generic Image file. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D