]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/nand/atmel_nand.c
mtd: nand: Add page argument to write_page() etc.
[people/ms/u-boot.git] / drivers / mtd / nand / atmel_nand.c
index b1adff0e8069ec36fcd850c569d17450d1f43cc1..a81b96d28136f3f41979a688a2b25fed95235e23 100644 (file)
@@ -569,7 +569,7 @@ static int atmel_nand_pmecc_read_page(struct mtd_info *mtd,
 
 static int atmel_nand_pmecc_write_page(struct mtd_info *mtd,
                struct nand_chip *chip, const uint8_t *buf,
-               int oob_required)
+               int oob_required, int page)
 {
        struct atmel_nand_host *host = nand_get_controller_data(chip);
        uint32_t *eccpos = chip->ecc.layout->eccpos;