Re: [PATCH v2 2/3] mtd: spinand: add support for detection with param page

From: Boris Brezillon
Date: Fri Apr 15 2022 - 02:48:50 EST


On Fri, 15 Apr 2022 11:48:43 +0800
Chuanhong Guo <gch981213@xxxxxxxxx> wrote:

> +#define SPINAND_IDR_EN BIT(6)

Looks like you're redefining CFG_OTP_ENABLE, why not use that
definition directly?

> +#define SPINAND_PARAM_PAGE 1
> +#define ONFI_PARAM_PAGES 3