Re: [RESEND PATCH V2 2/2] mtd: core: NAND filling block

Boris Brezillon
2019-01-18T23:02:03Z

On Fri, 18 Jan 2019 22:12:04 +0000
"Bean Huo (beanhuo)" <beanhuo@micron.com> wrote:

> + /* Corrupt page0 and page1, in order to simulate an
> + * uncompleted eraseing scenario. Just for case of
> + * power loss hits while below programming. in this
> + * way, the PEB will be re-erased again.
> + */
> + empty_page_mask |= 0x3;
> + memset(data_buf, 0xAA, mtd->writesize);

Why do you use the 0xaa pattern BTW?