amd/mtrr: Fix IORR MTRR
IORR MTRR definitions renamed to avoid collision between <cpu/amd/mtrr.h> and <AGESA.h>. Change-Id: I3eeb0c69bbb76039039dc90683670cafcb00ed36 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29352 Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							c4ba0f4cbd
						
					
				
				
					commit
					d35c7fe1bf
				
			| @@ -138,7 +138,7 @@ void amd_setup_mtrrs(void) | ||||
| 	 * undefined side effects. | ||||
| 	 */ | ||||
| 	msr.lo = msr.hi = 0; | ||||
| 	for (i = IORR_FIRST; i <= IORR_LAST; i++) | ||||
| 	for (i = MTRR_IORR0_BASE; i <= MTRR_IORR1_MASK; i++) | ||||
| 		wrmsr(i, msr); | ||||
|  | ||||
| 	/* Enable Variable Mtrrs | ||||
|   | ||||
		Reference in New Issue
	
	Block a user