cpu/x86: Reduce scope of MTRR functions used locally
Change-Id: Ic00358ee5b05d011a95d85ec355adef71c39a529 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76193 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Felix Held
						Felix Held
					
				
			
			
				
	
			
			
			
						parent
						
							56c09fb5fd
						
					
				
				
					commit
					e01742bf3d
				
			| @@ -346,13 +346,13 @@ static void commit_fixed_mtrrs(void) | ||||
| 	fixed_mtrrs_hide_amd_rwdram(); | ||||
| } | ||||
|  | ||||
| void x86_setup_fixed_mtrrs_no_enable(void) | ||||
| static void x86_setup_fixed_mtrrs_no_enable(void) | ||||
| { | ||||
| 	calc_fixed_mtrrs(); | ||||
| 	commit_fixed_mtrrs(); | ||||
| } | ||||
|  | ||||
| void x86_setup_fixed_mtrrs(void) | ||||
| static void x86_setup_fixed_mtrrs(void) | ||||
| { | ||||
| 	x86_setup_fixed_mtrrs_no_enable(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user