From patchwork Tue Mar 22 07:37:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 600408 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3qTl2928gVz9s5Q for ; Tue, 22 Mar 2016 18:39:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B5811A75D2; Tue, 22 Mar 2016 08:39:09 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xG2DuvZ-3aV2; Tue, 22 Mar 2016 08:39:09 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 542ADA75CC; Tue, 22 Mar 2016 08:39:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 98F5AA75BC for ; Tue, 22 Mar 2016 08:39:06 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iWpU6aM-iMUY for ; Tue, 22 Mar 2016 08:39:06 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by theia.denx.de (Postfix) with ESMTPS id 09256A7531 for ; Tue, 22 Mar 2016 08:39:01 +0100 (CET) Received: by mail-pf0-f193.google.com with SMTP id q129so34854898pfb.3 for ; Tue, 22 Mar 2016 00:39:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oO2aOoUQ79zKDdYM/ZMu/NED8tMKYYpAQ/eOJEL8HtE=; b=VHGEVidXs81cNhpqHCTaOP82MU009gHWAuAyQZITNgm4Zmw9q9hB1WIhIQqYfkTF9l 2xmvopAmsYl6Zc8A57nodnhpwHIFp0FgXuJQDHWfXtOYFBfvU0bBBIYaRIqv3Zb/8Pf8 2wS/0w7Ql+SnNKk92GyKXaX0iGrr7pF3X9ZiU0cBLbhvgUA6e3UhS7NBQC2JjvzMoRIQ SIlaLxxDnJeoA12nVy2Buo8nfkDX5XKUXyItTC8JbiSyuzw71L5/oxozzEjYg8v5spvA x3g4V5YTuuHB/t/8jiKdwtvYoK4qozvOnPnXtxBUBevHVQlvMgNZjpMhzEls3DAvDZK5 V2gg== X-Gm-Message-State: AD7BkJIx+myZHvNCe2NKPsAHRDuktJM+6hW6C2LSK7aOOoym+4BTss88nTW5JKf8yUXkag== X-Received: by 10.98.70.67 with SMTP id t64mr51851038pfa.110.1458632339956; Tue, 22 Mar 2016 00:38:59 -0700 (PDT) Received: from jteki-Latitude-E7450.amcc.com ([182.73.239.130]) by smtp.gmail.com with ESMTPSA id ko9sm45814957pab.37.2016.03.22.00.38.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Mar 2016 00:38:58 -0700 (PDT) From: Jagan Teki To: u-boot@lists.denx.de Date: Tue, 22 Mar 2016 13:07:14 +0530 Message-Id: <1458632319-24866-2-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458632319-24866-1-git-send-email-jteki@openedev.com> References: <1458632319-24866-1-git-send-email-jteki@openedev.com> Cc: Michal Simek , Siva Durga Prasad Paladugu , Jagan Teki Subject: [U-Boot] [PATCH v7 02/87] mtd: Add Kconfig entry for MTD_M25P80 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Added Kconfig entry for MTD_M25P80 Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 drivers/mtd/spi-nor/Kconfig diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig new file mode 100644 index 0000000..d32486c --- /dev/null +++ b/drivers/mtd/spi-nor/Kconfig @@ -0,0 +1,15 @@ +config MTD_M25P80 + tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)" + help + This enables access to most modern SPI flash chips, used for + program and data storage. Series supported include Atmel AT26DF, + Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X. Other chips + are supported as well. See the driver source for the current list, + or to add other chips. + + Note that the original DataFlash chips (AT45 series, not AT26DF), + need an entirely different driver. + + Set up your spi devices with the right board-specific platform data, + if you want to specify device partitioning or to use a device which + doesn't support the JEDEC ID instruction.