The core board I use is ok8mp,
The kernel version is 5.4.70
Now I have added an mx25l25645g chip with the following core nodes

Now I compile the spi driver into a module that can be recognized normally。
the code is as follows:CONFIG_MTD_SPI_NOR=m
But when I compile the driver into y, I get an error。
the code is as follows:CONFIG_MTD_SPI_NOR=y
Error reported as follows:
[ 1.332273] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[ 1.339167] spi-nor: probe of spi0.0 failed with error -2
[ 1.369083] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 2.914454] spi-nor spi1.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[ 2.923897] spi-nor: probe of spi1.0 failed with error -2
[ 2.935405] spi_imx 30830000.spi: probed
why?
thanks!