arm: xlnx-zynqmp: Fix up GIC region size
The GIC in ZynqMP cover a 64K address space, however the actual registers are decoded within a 4K address space and mirrored at the 4K boundaries. This change fixes the defined size for these regions as it was set to 0x4000/16K incorrectly. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1441719672-25296-1-git-send-email-nathan@nathanrossi.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
		
							parent
							
								
									2b750d9d26
								
							
						
					
					
						commit
						52c16b458a
					
				@ -46,7 +46,7 @@
 | 
				
			|||||||
 * number of memory region aliases.
 | 
					 * number of memory region aliases.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define XLNX_ZYNQMP_GIC_REGION_SIZE 0x4000
 | 
					#define XLNX_ZYNQMP_GIC_REGION_SIZE 0x1000
 | 
				
			||||||
#define XLNX_ZYNQMP_GIC_ALIASES     (0x10000 / XLNX_ZYNQMP_GIC_REGION_SIZE - 1)
 | 
					#define XLNX_ZYNQMP_GIC_ALIASES     (0x10000 / XLNX_ZYNQMP_GIC_REGION_SIZE - 1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct XlnxZynqMPState {
 | 
					typedef struct XlnxZynqMPState {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user