From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/5] [PATCH 3/5] Add nand_spl support for the apf27
Date: Thu, 28 Jun 2012 17:18:31 -0500 [thread overview]
Message-ID: <4FECD837.1060000@freescale.com> (raw)
In-Reply-To: <1340915772-30493-3-git-send-email-tremyfr@yahoo.fr>
On 06/28/2012 03:36 PM, Philippe Reynes wrote:
> Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
> Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
> ---
> nand_spl/board/armadeus/apf27/Makefile | 79 +++++
> nand_spl/board/armadeus/apf27/config.mk | 45 +++
> nand_spl/board/armadeus/apf27/start.S | 548 ++++++++++++++++++++++++++++++
> nand_spl/board/armadeus/apf27/u-boot.lds | 39 +++
> 4 files changed, 711 insertions(+), 0 deletions(-)
> create mode 100644 nand_spl/board/armadeus/apf27/Makefile
> create mode 100644 nand_spl/board/armadeus/apf27/config.mk
> create mode 100644 nand_spl/board/armadeus/apf27/start.S
> create mode 100644 nand_spl/board/armadeus/apf27/u-boot.lds
nand_spl is deprecated -- please use the new spl/ infrastructure.
-Scott
> +/*
> + * Standard NAND flash commands
> + */
> +#define NAND_CMD_READ0 0
> +#define NAND_CMD_READ1 1
> +#define NAND_CMD_PAGEPROG 0x10
> +#define NAND_CMD_READOOB 0x50
> +#define NAND_CMD_ERASE1 0x60
> +#define NAND_CMD_STATUS 0x70
> +#define NAND_CMD_STATUS_MULTI 0x71
> +#define NAND_CMD_SEQIN 0x80
> +#define NAND_CMD_READID 0x90
> +#define NAND_CMD_ERASE2 0xd0
> +#define NAND_CMD_RESET 0xff
> +
> +/* Extended commands for large page devices */
> +#define NAND_CMD_READSTART 0x30
> +#define NAND_CMD_CACHEDPROG 0x15
> +
> +/* Status bits */
> +#define NAND_STATUS_FAIL 0x01
> +#define NAND_STATUS_FAIL_N1 0x02
> +#define NAND_STATUS_TRUE_READY 0x20
> +#define NAND_STATUS_READY 0x40
> +#define NAND_STATUS_WP 0x80
Why do you need to redefine this stuff?
-Scott
next prev parent reply other threads:[~2012-06-28 22:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 20:36 [U-Boot] [PATCH 1/5] [PATCH 1/5] Add missing constant to mx27 Philippe Reynes
2012-06-28 20:36 ` [U-Boot] [PATCH 2/5] [PATCH 2/5] Add support for the armadeus APF27 board Philippe Reynes
2012-06-28 23:06 ` Fabio Estevam
2012-06-29 1:16 ` Eric Jarrige
2012-07-07 18:03 ` Stefano Babic
2012-06-28 20:36 ` [U-Boot] [PATCH 3/5] [PATCH 3/5] Add nand_spl support for the apf27 Philippe Reynes
2012-06-28 22:18 ` Scott Wood [this message]
2012-07-07 17:34 ` Stefano Babic
2012-06-28 20:36 ` [U-Boot] [PATCH 4/5] [PATCH 4/5] Add FPGA support for the apf27 board Philippe Reynes
2012-07-07 17:43 ` Stefano Babic
2012-06-28 20:36 ` [U-Boot] [PATCH 5/5] [PATCH 5/5] Add config file for the apf27 Philippe Reynes
2012-07-07 17:31 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FECD837.1060000@freescale.com \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox