]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/nand/pxa3xx_nand.c
mtd: nand: Add page argument to write_page() etc.
[people/ms/u-boot.git] / drivers / mtd / nand / pxa3xx_nand.c
index 03bf0468f1426874a2efb453994c2975f34c704e..d3ac5391f156e84fce4134fb22f8f01303206b90 100644 (file)
@@ -1081,7 +1081,8 @@ static void nand_cmdfunc_extended(struct mtd_info *mtd,
 }
 
 static int pxa3xx_nand_write_page_hwecc(struct mtd_info *mtd,
-               struct nand_chip *chip, const uint8_t *buf, int oob_required)
+               struct nand_chip *chip, const uint8_t *buf, int oob_required,
+               int page)
 {
        chip->write_buf(mtd, buf, mtd->writesize);
        chip->write_buf(mtd, chip->oob_poi, mtd->oobsize);