@eddylin 网上看到的不知道行不行,你可以试一试
uboot dts开启wp和hold的内部上拉,默认的只开启了CS的内部上拉
&spi0_pins_b {
allwinner,pins = "PC3", "PC7", "PC6";
allwinner,pname = "spi0_cs0", "spi0_hold", "spi0_wp";
allwinner,function = "spi0";
allwinner,muxsel = <2>;
allwinner,drive = <1>;
allwinner,pull = <1>; /* cs, hold, wp should be pulled up */
};