 be0639063a
			
		
	
	be0639063a
	
	
	
		
			
			Merged upstream: bcm27xx/patches-5.4/950-1014-Revert-mailbox-avoid-timer-start-from-callback.patch generic/backport-5.4/080-wireguard-0021-crypto-blake2s-generic-C-library-implementation-and-.patch Manually adapted: layerscape/patches-5.4/801-audio-0005-Revert-ASoC-fsl_sai-Add-support-for-SAI-new-version.patch oxnas/patches-5.4/100-oxnas-clk-plla-pllb.patch Compile-tested: lantiq/xrx200 Run-tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
		
			
				
	
	
		
			18 lines
		
	
	
		
			565 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			565 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From: George Kashperko <george@znau.edu.ua>
 | |
| Subject: Issue map read after Write Buffer Load command to ensure chip is ready to receive data.
 | |
| 
 | |
| Signed-off-by: George Kashperko <george@znau.edu.ua>
 | |
| ---
 | |
|  drivers/mtd/chips/cfi_cmdset_0002.c |    1 +
 | |
|  1 file changed, 1 insertion(+)
 | |
| --- a/drivers/mtd/chips/cfi_cmdset_0002.c
 | |
| +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
 | |
| @@ -2047,6 +2047,7 @@ static int __xipram do_write_buffer(stru
 | |
|  
 | |
|  	/* Write Buffer Load */
 | |
|  	map_write(map, CMD(0x25), cmd_adr);
 | |
| +	(void) map_read(map, cmd_adr);
 | |
|  
 | |
|  	chip->state = FL_WRITING_TO_BUFFER;
 | |
|  
 |