Messages in this thread | | | From | <> | Subject | Re: [PATCH] mtd: spi-nor: make s25fl129p1 skip SFDP parsing | Date | Tue, 24 Dec 2019 00:29:18 +0000 |
| |
Hi, Jiwei,
On 12/19/19 10:12 AM, Jiwei Sun wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > From: jsun4 <jiwei.sun@windriver.com> > > The right page size of S25FL129P has been gotten in the function > spi_nor_info_init_params() before invoking spi_nor_parse_bfpt(), > it is 256-bytes, but the size will be changed to 512 bytes in the > following function spi_nor_parse_bfpt(). And there is no explanation of > the SFDP according to the datasheet of S25FL129P. So we can skip > SFDP parsing. >
Would you please dump the sfdp so that we can check what's going on? If the BFPT table has the page size param wrong, we can use the post_bfpt hook to correct it. This way we will still benefit of the rest of the info from BFPT.
Cheers, ta | |