diff options
Diffstat (limited to 'drivers/staging/goldfish')
-rw-r--r-- | drivers/staging/goldfish/goldfish_nand.c | 3 | ||||
-rw-r--r-- | drivers/staging/goldfish/goldfish_nand_reg.h | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/staging/goldfish/goldfish_nand.c b/drivers/staging/goldfish/goldfish_nand.c index 3b7ba611b99a..81e2ad4038fe 100644 --- a/drivers/staging/goldfish/goldfish_nand.c +++ b/drivers/staging/goldfish/goldfish_nand.c @@ -328,7 +328,8 @@ static int goldfish_nand_init_device(struct platform_device *pdev, mtd->size *= mtd->writesize; dev_dbg(&pdev->dev, "goldfish nand dev%d: size %llx, page %d, extra %d, erase %d\n", - id, mtd->size, mtd->writesize, mtd->oobsize, mtd->erasesize); + id, mtd->size, mtd->writesize, + mtd->oobsize, mtd->erasesize); spin_unlock_irqrestore(&nand->lock, irq_flags); mtd->priv = nand; diff --git a/drivers/staging/goldfish/goldfish_nand_reg.h b/drivers/staging/goldfish/goldfish_nand_reg.h index 956c6c304b6e..ac17f8805f47 100644 --- a/drivers/staging/goldfish/goldfish_nand_reg.h +++ b/drivers/staging/goldfish/goldfish_nand_reg.h @@ -17,11 +17,13 @@ #define GOLDFISH_NAND_REG_H enum nand_cmd { - NAND_CMD_GET_DEV_NAME, /* Write device name for NAND_DEV to NAND_DATA (vaddr) */ + /* Write device name for NAND_DEV to NAND_DATA (vaddr) */ + NAND_CMD_GET_DEV_NAME, NAND_CMD_READ, NAND_CMD_WRITE, NAND_CMD_ERASE, - NAND_CMD_BLOCK_BAD_GET, /* NAND_RESULT is 1 if block is bad, 0 if it is not */ + /* NAND_RESULT is 1 if block is bad, 0 if it is not */ + NAND_CMD_BLOCK_BAD_GET, NAND_CMD_BLOCK_BAD_SET, NAND_CMD_READ_WITH_PARAMS, NAND_CMD_WRITE_WITH_PARAMS, |