From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6474C43334 for ; Fri, 15 Jul 2022 05:58:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B944784127; Fri, 15 Jul 2022 07:58:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="OQzBpJge"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 925AA84137; Fri, 15 Jul 2022 07:57:58 +0200 (CEST) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D343D84121 for ; Fri, 15 Jul 2022 07:57:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@amarulasolutions.com Received: by mail-wm1-x32e.google.com with SMTP id l68so2218153wml.3 for ; Thu, 14 Jul 2022 22:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qg61Ps3Mwq/dnHK1H6nN/BVg6kx2Rj1KXGnAcT91Zfk=; b=OQzBpJgeeb5GbchLwnJKP9GINVNHHErM3Jkcsy8Vck+VKPHl82uGjKBoT0A0KcOrbB M/7AD1beqxUKxInF/845AqlA5QCTtYNOIp1hbLnhiqJ2Vld399lb0r/ITSUAcgD8wHkq 9NiSuE5pidfaoIBcWSnTagfwYGD/nzaVDigQU= 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:mime-version :content-transfer-encoding; bh=qg61Ps3Mwq/dnHK1H6nN/BVg6kx2Rj1KXGnAcT91Zfk=; b=dXgXzuYrPOOsutTvZa/Qv2hZyr4br7z555gdm2LORTll75lbjyRNJGXoIULpnqCWH/ Ueuj8akTWLjKfKx78F+6iH5HOmIAfJ9PkfAlQHqlYxeFNqMjhA8mhKGJ/erfbuVxz1hM rx3hn95Z0M1s5bsd4ujxyqx3csTiBV04aweb461ETPx+3A0qkazG87GLhAHoD3fYbp6h NCtKdg1DQaDb+idmnVwL2H3X1yQAjybAToc64m8TV+ywNIKuaZXII1d9/ugipzjEfhqk qgaA5xsr8dGCfz/bdqrPobkMR3Rj3G54axacNd+1Pi+lzoAsaS/bOaySgFyMIu+CUKcs UuDg== X-Gm-Message-State: AJIora8KmoE5MDChUtzP+6HnFYj/2tdRbK/rXi2MJhiHJqWBgAQvHcQ8 cYuYyPANhHIqnGo0SVhRMWJEuw== X-Google-Smtp-Source: AGRyM1tZ8xa2qgT5KkwPYEOu//AflBAAS6alWaIq4m12FHq0as0x2fsFZq4mlDKsyTx/O268q8bzHQ== X-Received: by 2002:a7b:c84a:0:b0:3a2:cf6b:290d with SMTP id c10-20020a7bc84a000000b003a2cf6b290dmr19155777wml.137.1657864675003; Thu, 14 Jul 2022 22:57:55 -0700 (PDT) Received: from panicking.. ([2.198.242.86]) by smtp.gmail.com with ESMTPSA id m24-20020a05600c461800b0039ee51fda45sm3908526wmo.2.2022.07.14.22.57.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 22:57:54 -0700 (PDT) From: Michael Trimarchi To: linux-amarula@amarulasolutions.com, Dario Binacchi , Tommaso Merciai Cc: u-boot@lists.denx.de Subject: [PATCH] mtd: decommission the NAND museum Date: Fri, 15 Jul 2022 07:57:49 +0200 Message-Id: <20220715055749.489319-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Upstream commit f7025a43a9da26fb79684c6b75ddfe6b1b5986bf 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, but 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: Artem Bityutskiy Signed-off-by: David Woodhouse Signed-off-by: Michael Trimarchi --- 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 7602dd30f1..4dece1b206 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 -- 2.34.1