On Fri, 15 Apr 2022 11:48:43 +0800 Chuanhong Guo <gch981213 at gmail.com> 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