mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	p4080: add readback to bootpage translation window
We need to add the readback to bootpage translation LAW to make it effect. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
		
							parent
							
								
									5fb6ea3ad3
								
							
						
					
					
						commit
						f5ecc6e027
					
				@ -165,6 +165,9 @@ static void plat_mp_up(unsigned long bootpg)
 | 
				
			|||||||
	e = find_law(bootpg);
 | 
						e = find_law(bootpg);
 | 
				
			||||||
	out_be32(&ccm->bstrar, LAW_EN | e.trgt_id << 20 | LAW_SIZE_4K);
 | 
						out_be32(&ccm->bstrar, LAW_EN | e.trgt_id << 20 | LAW_SIZE_4K);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/* readback to sync write */
 | 
				
			||||||
 | 
						in_be32(&ccm->bstrar);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* disable time base at the platform */
 | 
						/* disable time base at the platform */
 | 
				
			||||||
	out_be32(&rcpm->ctbenrl, cpu_up_mask);
 | 
						out_be32(&rcpm->ctbenrl, cpu_up_mask);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user