| Index: board/tegra2/common/nand/HY27UF084G2B/tegra2_nand.h
|
| diff --git a/board/tegra2/common/nand/HY27UF084G2B/tegra2_nand.h b/board/tegra2/common/nand/HY27UF084G2B/tegra2_nand.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2b07afdb9afa3a6b48f96a24c7a81d5b4e34c0fa
|
| --- /dev/null
|
| +++ b/board/tegra2/common/nand/HY27UF084G2B/tegra2_nand.h
|
| @@ -0,0 +1,24 @@
|
| +/* register offset */
|
| +#define NAND_COMMAND_0 0x00
|
| +#define NAND_STATUS_0 0x04
|
| +#define NAND_ISR_0 0x08
|
| +#define NAND_IER_0 0x0C
|
| +#define NAND_CONFIG_0 0x10
|
| +#define NAND_TIMING_0 0x14
|
| +#define NAND_RESP_0 0x18
|
| +#define NAND_TIMING2_0 0x1C
|
| +#define NAND_CMD_REG1_0 0x20
|
| +#define NAND_CMD_REG2_0 0x24
|
| +#define NAND_ADDR_REG1_0 0x28
|
| +#define NAND_ADDR_REG2_0 0x2C
|
| +
|
| +#define LP_OPTIONS (NAND_NO_READRDY | NAND_NO_AUTOINCR)
|
| +
|
| +static uint8_t tegra2_nand_read_byte(struct mtd_info *mtd);
|
| +static void tegra2_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
|
| +static void tegra2_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
|
| +static int tegra2_nand_waitfor_GO_cleared(struct mtd_info *mtd);
|
| +static int tegra2_nand_dev_ready(struct mtd_info *mtd);
|
| +
|
| +
|
| +
|
|
|