mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			437 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			437 B
		
	
	
	
		
			Diff
		
	
	
| --- 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"); 
 | |
|  
 |