On 06/28/2012 03:36 PM, Philippe Reynes wrote:
> Signed-off-by: Philippe Reynes <[email protected]>
> Signed-off-by: Eric Jarrige <[email protected]>
> ---
>  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

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to