mirror of https://github.com/OpenIPC/firmware.git
Disable ak_parititons
parent
32ed4a5f13
commit
686424c0ce
|
@ -0,0 +1,16 @@
|
|||
--- a/drivers/mtd/devices/ak_spiflash.c
|
||||
+++ b/drivers/mtd/devices/ak_spiflash.c
|
||||
@@ -2310,9 +2310,10 @@
|
||||
kfree(flash);
|
||||
return -EINVAL;
|
||||
}
|
||||
- ret = ak_mount_partitions(spi);
|
||||
- if (ret)
|
||||
- printk(KERN_ERR "Add MTD partitions failed\n");
|
||||
+ // Disable parsing anyka partitions from env
|
||||
+ //ret = ak_mount_partitions(spi);
|
||||
+ //if (ret)
|
||||
+ // printk(KERN_ERR "Add MTD partitions failed\n");
|
||||
|
||||
printk("Init AK SPI Flash finish.\n");
|
||||
|
Loading…
Reference in New Issue