mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			832 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			832 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/fs/jffs2/compr.h	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/fs/jffs2/compr.h	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -29,9 +29,15 @@
 | |
|  #define JFFS2_DYNRUBIN_PRIORITY  20
 | |
|  #define JFFS2_LZARI_PRIORITY     30
 | |
|  #define JFFS2_RTIME_PRIORITY     50
 | |
| +
 | |
| +#ifdef CONFIG_GOKE_MC
 | |
| +#define JFFS2_LZMA_PRIORITY      70
 | |
| +#define JFFS2_ZLIB_PRIORITY      80
 | |
| +#define JFFS2_LZO_PRIORITY       90
 | |
| +#else
 | |
|  #define JFFS2_ZLIB_PRIORITY      60
 | |
|  #define JFFS2_LZO_PRIORITY       80
 | |
| -
 | |
| +#endif
 | |
|  
 | |
|  #define JFFS2_RUBINMIPS_DISABLED /* RUBINs will be used only */
 | |
|  #define JFFS2_DYNRUBIN_DISABLED  /*	   for decompression */
 | |
| @@ -101,5 +107,9 @@
 | |
|  int jffs2_lzo_init(void);
 | |
|  void jffs2_lzo_exit(void);
 | |
|  #endif
 | |
| +#ifdef CONFIG_JFFS2_LZMA
 | |
| +int jffs2_lzma_init(void);
 | |
| +void jffs2_lzma_exit(void);
 | |
| +#endif
 | |
|  
 | |
|  #endif /* __JFFS2_COMPR_H__ */
 |