From patchwork Fri Jul 22 16:10:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2243 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 89CBD3F047 for ; Fri, 22 Jul 2022 18:11:25 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id m10-20020a056402510a00b0043a93d807ffsf3128741edd.12 for ; Fri, 22 Jul 2022 09:11:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658506285; cv=pass; d=google.com; s=arc-20160816; b=RWGH9m2yFqwkloPZYeJmCXAqGTYFRIBU6Zxf2ayaFbnRWqC8eX+lllsqf7Z8Kq+1wD EYqaAYIEhyJJlVzPBiU5AFPooc/rXf8yjhiTJcUfJCdrE6BYvj9ceshRjtF+cQH35tJq 6b82FD/vgkglnpXiRChr3m0EKQEO3oHzEg/CLBzr7y1POfgytelUe1h6Lq5HqXZEcLE9 1UO9/rUHlez7rxplc/eejJwrMCULXfVxpa00zJk2KPKoflxiJ7HzMkVyPG5OyLQq69F1 DPV/qp7/uAtmheOf/yP1Pth5Fo7wtncd/HkwZ9TdU0I4LYiF5M8Zn5M6YUYtN9ykWkh/ ELAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dbktCdYMDXHWMaVMaALY4MVM8fTNM60gGppAaa+WnzU=; b=iw2/6l6BHiU5+wiyazUMIl892e2lRQzLWhe+lttH+QwilUIXyeLR4f7zOYxxYINLbk 8/UAcfE72SV5zVpevt3rofSa/8/Bei8eWvowTI3Tm/OUwiA41IAuw6U28PHJFDIIzS9j i6C3HW9dAi/euUF9j9Z+8WafSfeIUri4I4TfX5CSoOgiONHscBrM9xE0iQDWwPLYpbsW q1AN4SMHENLGOAtjXciZikxokK+b531xn0cUmge7WhMqapJkkNUSEgXtCvjVQBlcHCpx Oyw5WhtIEWa7gr+MNsI/Ufvy1G8kuOC1jRMLkdysppn6Jkod3UxWqDZ/GVCv5QoubWql BjQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3F8Ihbf; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=dbktCdYMDXHWMaVMaALY4MVM8fTNM60gGppAaa+WnzU=; b=h0HNCUeHPPtvjoeXTWrpLnAFDfW7Xj1gsabajmc6jFciSHB/0bp8JYSgO9KewdN818 O1IzNpAx+P58/4ADx+0UPLQrGF+00sWtG69uibhblt0tYHYlMazGL4h8nVUOQKoZtBru 9Yq9njbYFADQuwPShE+cPArNlObqPo1wR6IF4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=dbktCdYMDXHWMaVMaALY4MVM8fTNM60gGppAaa+WnzU=; b=Bc5rZ1/LuVo5M/XoxEIu64zN5CFqagVkjCpsTfuh/8ECuj4fQ2+sEMY3A8Z5pxnoJg 3Tc3Ntx/6YNYGvD+aPfm4M9r+eJVJYNP7bbnh6H1Mshhb/kgIrEt7Vd7ZWXyF9CVQY7X gmjCdkQ9vG8ueRKcXqsJikRwxono5AMC548AT2uN2GkzjIZ7yyky68+x8ma5nzMUbF3+ yLcbN5q8d0y+tm0zWD9bzIRt4Yki09dWTZLmxOb3+Y+CuOfml2WP4zEUjTHW8DxwDOM4 Qjb6NnJji2c+vOYomU7WEb++0agxFWXF7gS7CKWwWtXlanHyAKUUr+MQYRVOm/ckbXQL RtVA== X-Gm-Message-State: AJIora+YjZwUv9jPXUpCBmh8LmbSu32i5w4Xo3sJIFBg2Z/NVLdgdf1h 5a82HVhNbFiuIhqBX1JG9cHKNC+X X-Google-Smtp-Source: AGRyM1v9zUS/xST2TU8CpipElFMD1Xxr0re6zGi59QAzwN9msmfgG579TIVDb/5koU0kr8G6USiEfQ== X-Received: by 2002:a17:907:7617:b0:72b:49fe:fdf7 with SMTP id jx23-20020a170907761700b0072b49fefdf7mr500597ejc.25.1658506285390; Fri, 22 Jul 2022 09:11:25 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:11cb:b0:43a:7c1c:8981 with SMTP id j11-20020a05640211cb00b0043a7c1c8981ls2107158edw.0.-pod-prod-gmail; Fri, 22 Jul 2022 09:11:24 -0700 (PDT) X-Received: by 2002:a05:6402:440f:b0:435:2e63:aca9 with SMTP id y15-20020a056402440f00b004352e63aca9mr605153eda.162.1658506284435; Fri, 22 Jul 2022 09:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658506284; cv=none; d=google.com; s=arc-20160816; b=EZNrS67GMM+AW01X55ccRQMCWA2SxhpjE1zzwg0dRhdMMoLViSfKmULDmOToaSOxuQ MZJj39v9lCsrTUnlaz4LxiW9L4w9+1ByJw5bsrFI1Bx6EFGpxjYovgTqSBS6ECE5QCpU ePDFJlgaQ11vQjZMlaZcRe/60kR+eP9XCENlhOaMoBFfrBTVrtxJFnS6OFu729jl5mRw ZWCqZ1LVSJAaiUf7vM6cEpY6+eSamTOEhi+r7nFVmJxdP7HbOGoinpfHAhQQet9MVdUZ CBsdOx9CFBnSrtMK5EQTgdvEYkC/Xdsst2Et7kxKnWsPYz82yzxcLw6mxSThfWxmwRT7 DgmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=zaSdFJYhjDJ6EOnBrmlwaLGap+wCVxas9PhmsjykTFw=; b=JKVAf1e7Cj3CKesULa77RjbizBkKvnV8Zl3LySVZLm6xrw6V9grfo5UghiegIyP4g8 eEk1bFrkcuhp6FOJycYW2znqP1iRDV6Jh6KsNe4+cL+FJNhMpytc+HnUNwZM5+SV6Cos SEjHQA49SEXoXY5b8fg9pPCdx3ubUfEzJ8TSh9bCZ65ACfZLD1f/o9gzHikeqhlFUPxY SymcniowBP8solEl13cBRfeR0m7f5ZbyZAhcknecCGglmZDaig/zgvuWsdqKNMxmxb9k w0ayM6GjNhmqZzb4ELhHehH96g25iUW38127hlSORDOLUDvWsgjqa1w0hacNAfnh6QFc YrAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3F8Ihbf; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id i26-20020a1709064eda00b006fe8d2e8599sor2175514ejv.29.2022.07.22.09.11.24 for (Google Transport Security); Fri, 22 Jul 2022 09:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:3e11:b0:72b:49d1:2054 with SMTP id hp17-20020a1709073e1100b0072b49d12054mr526591ejc.78.1658506284142; Fri, 22 Jul 2022 09:11:24 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-87-14-98-67.retail.telecomitalia.it. [87.14.98.67]) by smtp.gmail.com with ESMTPSA id d19-20020a170906305300b006fe8ac6bc69sm2174025ejd.140.2022.07.22.09.11.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 09:11:23 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi Subject: [PATCH v4 14/14] mtd: decommission the NAND museum Date: Fri, 22 Jul 2022 18:10:08 +0200 Message-Id: <20220722161009.2686504-15-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220722161009.2686504-1-dario.binacchi@amarulasolutions.com> References: <20220722161009.2686504-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3F8Ihbf; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Michael Trimarchi Upstream linux commit f7025a43a9da26. The MTD subsystem has its own small museum of ancient NANDs in a form of the CONFIG_MTD_NAND_MUSEUM_IDS configuration option. The museum contains stone age NANDs with 256 bytes pages, as well as iron age NANDs with 512 bytes per page and up to 8MiB page size. It is with great sorrow that I inform you that the museum is being decommissioned. The MTD subsystem is out of budget for Kconfig options and already has too many of them, and there is a general kernel trend to simplify the configuration menu. We remove the stone age exhibits along with closing the museum REMARK Don't apply this part from upstream: Some of the iron age ones are transferred to the regular NAND depot. Namely, only those which have unique device IDs are transferred, and the ones which have conflicting device IDs are removed. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v3) Changes in v3: - Use commit sha1 with 13 digits. - Wrap commit description to a maximum of 75 chars. Changes in v2: - Use short-commit form. - Remove linux info. Uboot seems that backport without add this extra information. drivers/mtd/nand/raw/nand_ids.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/mtd/nand/raw/nand_ids.c b/drivers/mtd/nand/raw/nand_ids.c index 7602dd30f169..4dece1b20676 100644 --- a/drivers/mtd/nand/raw/nand_ids.c +++ b/drivers/mtd/nand/raw/nand_ids.c @@ -24,16 +24,6 @@ * extended chip ID. */ struct nand_flash_dev nand_flash_ids[] = { -#ifdef CONFIG_MTD_NAND_MUSEUM_IDS - LEGACY_ID_NAND("NAND 1MiB 5V 8-bit", 0x6e, 1, SZ_4K, SP_OPTIONS), - LEGACY_ID_NAND("NAND 2MiB 5V 8-bit", 0x64, 2, SZ_4K, SP_OPTIONS), - LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xe8, 1, SZ_4K, SP_OPTIONS), - LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xec, 1, SZ_4K, SP_OPTIONS), - LEGACY_ID_NAND("NAND 2MiB 3,3V 8-bit", 0xea, 2, SZ_4K, SP_OPTIONS), - LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xd5, 4, SZ_8K, SP_OPTIONS), - - LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit", 0xe6, 8, SZ_8K, SP_OPTIONS), -#endif /* * Some incompatible NAND chips share device ID's and so must be * listed by full ID. We list them first so that we can easily identify