cpu/amd/mtrr: Use newer function for resource declaration
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I62f34a12bc5c4807638ddcb39fa5e450d99511fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/76277 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						
						Kyösti Mälkki
					
				
			
			
				
	
			
			
			
						parent
						
							fdc1b541ae
						
					
				
				
					commit
					74add29738
				
			@@ -19,5 +19,5 @@ void add_uma_resource_below_tolm(struct device *nb, int idx)
 | 
				
			|||||||
	printk(BIOS_INFO, "%s: uma size 0x%08x, memory start 0x%08x\n", __func__, uma_size,
 | 
						printk(BIOS_INFO, "%s: uma size 0x%08x, memory start 0x%08x\n", __func__, uma_size,
 | 
				
			||||||
	       uma_base);
 | 
						       uma_base);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	uma_resource_kb(nb, idx, uma_base / KiB, uma_size / KiB);
 | 
						mmio_range(nb, idx, uma_base, uma_size);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user