]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx53/flash.c
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / board / karo / tx53 / flash.c
index d111633e90228fddcf78502759b515146ed27146..d6463cf1057c300f59c430fd91bdf59b866227a7 100644 (file)
@@ -172,7 +172,8 @@ static int write_fcb(void *buf, int block)
                (u64)block * mtd->erasesize);
        if (doit) {
                chip->select_chip(mtd, 0);
-               ret = chip->write_page(mtd, chip, buf, 1, page, 0, 1);
+               ret = chip->write_page(mtd, chip, 0, mtd->writesize,
+                               buf, 1, page, 0, 0);
                if (ret) {
                        printf("Failed to write FCB to block %u: %d\n", block, ret);
                }