From a1d621cbe3cc9ad7e8bdf35f51cbe61e5182ca1d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 3 Mar 2016 11:18:14 +0100 Subject: imx-bbu-nand-fcb: Remove double write of first fcb The first FCB page was written twice. One time is enough, drop the second write. Signed-off-by: Sascha Hauer --- common/imx-bbu-nand-fcb.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c index 6e33ee14e2..3eb9e9b169 100644 --- a/common/imx-bbu-nand-fcb.c +++ b/common/imx-bbu-nand-fcb.c @@ -461,10 +461,6 @@ static int imx_bbu_nand_update(struct bbu_handler *handler, struct bbu_data *dat */ memset(fcb_raw_page + mtd->writesize, 0xFF, 2); - ret = raw_write_page(mtd, fcb_raw_page, mtd->erasesize); - if (ret) - goto out; - dbbt->Checksum = 0; dbbt->FingerPrint = 0x54424244; dbbt->Version = 0x01000000; -- cgit v1.2.3