From 13cf13587192ff82fbb3d060fe49fc677464c83b Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 21 Nov 2016 07:37:13 +0200 Subject: AGESA: Move amd_initmmio() call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Function enables PCI MMCONF and XIP cache, it needs to be called before giving platform any chance of calling any PCI access functions. Change-Id: Ic044d4df7b93667fa987c29c810d0bd826af87ad Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/18623 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Aaron Durbin --- src/include/cpu/amd/car.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/cpu/amd/car.h b/src/include/cpu/amd/car.h index a9c9aa0f4e..7fd83f14ef 100644 --- a/src/include/cpu/amd/car.h +++ b/src/include/cpu/amd/car.h @@ -16,4 +16,6 @@ void cache_as_ram_new_stack(void); void disable_cache_as_ram(void); #endif +void asmlinkage early_all_cores(void); + #endif -- cgit v1.2.3