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 00654C433EF for ; Tue, 22 Mar 2022 10:56:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8885583968; Tue, 22 Mar 2022 11:56:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=brickedbrain.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="Uw24cQOz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2704F839E7; Tue, 22 Mar 2022 11:56:19 +0100 (CET) Received: from smtpcmd0641.aruba.it (smtpcmd0641.aruba.it [62.149.156.41]) by phobos.denx.de (Postfix) with ESMTP id 8309F8395F for ; Tue, 22 Mar 2022 11:56:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=brickedbrain.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=luca.ellero@brickedbrain.com Received: from asem-TANK-H57.asem.intra ([151.1.184.193]) by Aruba Outgoing Smtp with ESMTPSA id WcBRnnf9WJ0EVWcBRnRcqj; Tue, 22 Mar 2022 11:56:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1647946575; bh=J0I3scVtFuflDNwjDJ7S8eQiAPzA1d6IhOqdWAk7ETs=; h=From:To:Subject:Date; b=Uw24cQOzyjyoSBNMKW0PBVdgix4f0sRNgnsWvfLttl2YmAi+qfXDBWJcn9hdUy4yw sW6RbZpVadGB7tXhZTzRv+EwAjPL5ikUbYr6fyJ750zL9yyBrlMV03IoepAUJI3u1Z hF4Ps3aC1z1rWIkOtQqt3E39KcNxKwySOwNK6uAzBy590o2mf4NyLaphiEbdviwVJn gh4byLAa4Jg1ydCN68FSnSI2xCvwsRwTPxoZ0jrqn4vGl2bu1hQDxRqtiv+6Ow2Vgt AJX35/0ZqIzw+Ib5LX7yNaMGY/e8sy5fJNDxdRqza13m9/owoo6s8p0tHD8mTQlXPe +z0QPSnwXq10A== From: Luca Ellero To: u-boot@lists.denx.de Cc: jagan@amarulasolutions.com, vigneshr@ti.com, bmeng.cn@gmail.com, york.sun@nxp.com, Luca Ellero Subject: [PATCH 0/2] sf: dataflash: add support for AT45DB641E Date: Tue, 22 Mar 2022 11:55:44 +0100 Message-Id: <20220322105546.6926-1-luca.ellero@brickedbrain.com> X-Mailer: git-send-email 2.17.1 X-CMAE-Envelope: MS4wfDESe1Rij7fivtmb7I6i+yv0G3hnLpUGMzRsbT062g0TwLDAITwEFda+eYv6rzrVrMoM4FrLK1ZfDIuHfhXbmOxZOiZBZSCOCdZRfpMEqXiCjwE9IAyT zlTgdPtgniFyBewhSxjAHL2HagvKIwASn6UnoZ1wI1Vr+tAZsR+VgNQ+bnwjt0RwSDJHEbAMw8L55pVEzG9DUuWLf57wU9lwxdfFuwqIJB9mfRKygQLHaRPc 0i4oVYTwpDqNhKjgg14E8v9CI/pilDLBocxrgqu+UHp02Sze/iJK5UQo4XAX5Ds3B++IbLoT4iaZ8sw03bt5WNjUkW0qJDJUAaHx+YfGELdLKf/07cne2jtW Z2w3z6WX 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.5 at phobos.denx.de X-Virus-Status: Clean Since AT45DB641E uses "extended device information" for reading JEDEC ID we must first introduce support for this feature. All code is borrowed from Linux kernel source code: drivers/mtd/devices/mtd_dataflash.c Luca Ellero (2): sf: dataflash: add support for "extended ID" sf: dataflash: add support for AT45DB641E drivers/mtd/spi/sf_dataflash.c | 101 ++++++++++++++++++++++----------- 1 file changed, 67 insertions(+), 34 deletions(-) -- 2.17.1