From 73097097426edd10dd1032393f1eb2bf7d320112 Mon Sep 17 00:00:00 2001 From: Siyuan Wang Date: Fri, 2 Nov 2012 18:14:30 +0800 Subject: remove enable_cache() of 3 mainboards Because enable cache is added at the end of disable_cache_as_ram, ( http://review.coreboot.org/#/c/1662/2/src/cpu/amd/agesa/cache_as_ram.inc ) enable_cache() should be removed. The 3 mainboards are: amd parmer, amd thatcher and tyan s8226 Change-Id: If870ca07d2e97b9e860a2e2315f551251c7a4ed2 Signed-off-by: Siyuan Wang Signed-off-by: Siyuan Wang Reviewed-on: http://review.coreboot.org/1669 Reviewed-by: Marc Jones Tested-by: build bot (Jenkins) --- src/mainboard/amd/parmer/romstage.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainboard/amd/parmer') diff --git a/src/mainboard/amd/parmer/romstage.c b/src/mainboard/amd/parmer/romstage.c index 028d6ae722..56fcb574ff 100644 --- a/src/mainboard/amd/parmer/romstage.c +++ b/src/mainboard/amd/parmer/romstage.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include "agesawrapper.h" @@ -102,7 +101,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) } printk(BIOS_DEBUG, "Got past agesawrapper_amdinitenv\n"); disable_cache_as_ram(); - enable_cache(); #if CONFIG_HAVE_ACPI_RESUME } else { /* S3 detect */ printk(BIOS_INFO, "S3 detected\n"); -- cgit v1.2.3