From patchwork Fri Dec 10 22:16:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 75142 X-Patchwork-Delegate: scottwood@freescale.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 4A342B70A9 for ; Sat, 11 Dec 2010 09:14:31 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DCA842807B; Fri, 10 Dec 2010 23:14:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 lJxzyDmf2707; Fri, 10 Dec 2010 23:14:28 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B26962807F; Fri, 10 Dec 2010 23:14:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1D6742807F for ; Fri, 10 Dec 2010 23:14:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 JQH3p9psBKM7 for ; Fri, 10 Dec 2010 23:14:22 +0100 (CET) Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by theia.denx.de (Postfix) with ESMTP id D39A72807B for ; Fri, 10 Dec 2010 23:14:22 +0100 (CET) Received: by wyf23 with SMTP id 23so4113013wyf.3 for ; Fri, 10 Dec 2010 14:14:22 -0800 (PST) Received: by 10.216.87.20 with SMTP id x20mr191626wee.52.1292019262328; Fri, 10 Dec 2010 14:14:22 -0800 (PST) Received: from localhost.localdomain (fbx.mimichou.net [82.236.225.16]) by mx.google.com with ESMTPS id p4sm1754230wej.4.2010.12.10.14.14.20 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Dec 2010 14:14:21 -0800 (PST) From: Florian Fainelli To: scottwood@freescale.com Date: Fri, 10 Dec 2010 23:16:41 +0100 Message-Id: <1292019402-25433-1-git-send-email-florian@openwrt.org> X-Mailer: git-send-email 1.7.2.3 Cc: u-boot@lists.denx.de, Florian Fainelli Subject: [U-Boot] [PATCH 1/2] NAND: add NAND_CMD_PARAM (0xec) definition X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Florian Fainelli This command is used to read the device ONFI parameters page. Signed-off-by: Florian Fainelli --- include/linux/mtd/nand.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 94ad0c0..7db87e1 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -84,6 +84,7 @@ extern void nand_wait_ready(struct mtd_info *mtd); #define NAND_CMD_SEQIN 0x80 #define NAND_CMD_RNDIN 0x85 #define NAND_CMD_READID 0x90 +#define NAND_CMD_PARAM 0xec #define NAND_CMD_ERASE2 0xd0 #define NAND_CMD_RESET 0xff