Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3446709ybz; Mon, 4 May 2020 03:11:04 -0700 (PDT) X-Google-Smtp-Source: APiQypI1R/sHR73B0Q4f8ER9AzVTeH++tefRCeCj7jlBbn+1BtRjsP3dteoB1akXZxxM9TMiYr3/ X-Received: by 2002:a05:6402:22f0:: with SMTP id dn16mr14346622edb.201.1588587063862; Mon, 04 May 2020 03:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588587063; cv=none; d=google.com; s=arc-20160816; b=tO5ktvuZlKHfW1YL3Y2tH+e/IBV2HFAmZVpotk3pN5qfOfF0DH7Oz+oCluWVVptggO mDwGpFGiZSkHrnquRbmViUVrzvIMOcK+t4HpRhtjZ0EYjv43LSgSVZTYqSZ2HuRJY63X eQpQ7t5xhoC/XAes/iDf+ee0x4w8APd+zpszCzQNkW6cG3ymn0uwMZJfqzZslNm3JTKu WOb8q7NnBEAPJNG+sA9bnUlNy0ZgUM/zOJHpy2drpT9XKAgX0rQSDMOBUS4oXOIt/hkh jmSHDce8udqJmyGGUEe7AJuSswQ/0lhPrvtuut0Ug4Rd5Q5o1APH5learKB1GyQtbwYA vrkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=n04eELBIPelMDy2ab4QYmrK5OKBO0UuNd+i4rb5iItw=; b=pfi9p9QbAHAvfhrVISIq8OdIm8CyeGp6V/YcvfGcrvu1j69qhMdDLP2TyWdYHt4bIv Ri8xG+//Lb/0L3mF+L8sfUaIWFI3oIlqggkLvnUqY/QbcRQOWou2N3yo5qq45DdiFS0W 1IDMLiowDXtKfIqgPE/PQ7K0o88lZyF0gaQ48QWEQarBq6D7QFJsvULOmARRhgOQ7Hh1 StpFGcv+3fIzjryysMtfWudZwWuoFESHvvDoczhWAXrCnoBmWn6TeNzMUbq8dOmYT0F0 sR1NkCWJMrgol5J00e4+nXb57L11Sl8QydTSDGGdzHc76b5tK26fhEEWL4sSk62H+dGB 9XKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si6587895eds.136.2020.05.04.03.10.40; Mon, 04 May 2020 03:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727834AbgEDGzG (ORCPT + 99 others); Mon, 4 May 2020 02:55:06 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:37923 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbgEDGzF (ORCPT ); Mon, 4 May 2020 02:55:05 -0400 Received: by mail-oi1-f195.google.com with SMTP id r66so5807656oie.5; Sun, 03 May 2020 23:55:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n04eELBIPelMDy2ab4QYmrK5OKBO0UuNd+i4rb5iItw=; b=sGIaStzE35t41EqXEofGLDreOXAbH2p1RBNNUMaRAYlW+SyDh03o5D2/ZQPKWL+kWK 1Yoc/DJkx+9wAGnBzDwAQiUw4/sU09u+eHZY2gsSvo9BfWHPbRi4Z0+e+3p8xiJSbHIw O1RcnWWtb8+UPZCVLi5FOxAVhUQ57JWDGF2lCJRmK5equfOgfs4Y+sXJGMRYOpySSEf8 Ils1/fPePXfMV3friQEGGkvsSQdrvVsf3hJhVPlPCkwqenQTAt3YB+0PegrbDfDbh4rf F9TVCdwmaV0tA4YWZfI0VkqWwXyG3TLDYTcZ3gGx956HKMLNhgYSNaRKmZSw7o9Kqf9f R3IA== X-Gm-Message-State: AGi0PuYQXwJppm+3caqYOSPU+lKqtxc8YOStIeTwGFk636ayR7uAsB1W w7cbaGpg+7vSYhye8Zfslyg8nABEJGCK/JAWoYXRc0U8 X-Received: by 2002:aca:f541:: with SMTP id t62mr7653085oih.148.1588575304969; Sun, 03 May 2020 23:55:04 -0700 (PDT) MIME-Version: 1.0 References: <1588393643-31499-1-git-send-email-bmeng.cn@gmail.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 4 May 2020 08:54:53 +0200 Message-ID: Subject: Re: [PATCH] sh: Drop CONFIG_MTD_M25P80 in sh7757lcr_defconfig To: Bin Meng Cc: Linux-sh list , Linux Kernel Mailing List , Bin Meng Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bin, On Sat, May 2, 2020 at 1:05 PM Bin Meng wrote: > On Sat, May 2, 2020 at 6:09 PM Geert Uytterhoeven wrote: > > On Sat, May 2, 2020 at 6:27 AM Bin Meng wrote: > > > From: Bin Meng > > > > > > Drop CONFIG_MTD_M25P80 that was removed in > > > commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") > > > > > > Signed-off-by: Bin Meng > > > > Thanks for your patch! > > > > Blindly removing config options from defconfig files that haven't > > received much love for a while is IMHO not such a good idea, as it makes > > it harder to see what the affected platform needs, or needed. > > > > > --- a/arch/sh/configs/sh7757lcr_defconfig > > > +++ b/arch/sh/configs/sh7757lcr_defconfig > > > @@ -36,7 +36,6 @@ CONFIG_IPV6=y > > > # CONFIG_FW_LOADER is not set > > > CONFIG_MTD=y > > > CONFIG_MTD_BLOCK=y > > > -CONFIG_MTD_M25P80=y > > > CONFIG_BLK_DEV_RAM=y > > > CONFIG_SCSI=y > > > CONFIG_BLK_DEV_SD=y > > > > MTD_SPI_NOR became a dependency for MTD_M25P80 since commit > > 03e296f613affcc2671c1e86d8c25ecad867204e ("mtd: m25p80: use the SPI nor > > framework") and commit e43b20619bdb6c851dd7b49cbd15e52875a785d4 ("mtd: > > spi-nor: shorten Kconfig naming"). Hence CONFIG_MTD_SPI_NOR=y should be > > added to avoid breaking the platform's SPI FLASH support. > > > > Just removing CONFIG_MTD_M25P80=y from the defconfig makes this less > > visible for someone who wants to build a kernel for this platform using > > "make sh7757lcr_defconfig": it can no longer be seen that > > CONFIG_MTD_M25P80=y won't be present in the resulting .config file. > > > > Thank you for the review! Sorry I missed that. > > > I think the platform would be better served with a proper refresh of the > > defconfig file. > > I am not sure if doing a defconfig refresh should be a separate patch. OK. > I felt mixing the refresh with the real changes makes the code review > a little bit hard. I just sent v2 without the refresh. Please let me > know if it is okay. Thank you, that's fine. It turns out sh7757lcr_defconfig has less bitrotted than I had feared. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds