From 30fbb4c23e7b867c707d61520c05cc4c6c17e174 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 20 Oct 2014 07:04:55 +0300 Subject: AGESA boards: Fix early agesawrapper_amdinitmmio() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression introduced with commit 7b23ae0 AGESA: Trace execution with AGESAWRAPPER() As the call is made before console_init() is called it must not call any printk(). Debugging Olivehill and Parmer platforms using a custom FPGA (as these boards have no Super-IO UART) have been observed to halt and/or delay at early boot. Change-Id: I3ab4e5378db44aece9046c8636cde1053ce5390d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/7059 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: WANG Siyuan --- src/mainboard/asus/f2a85-m/romstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/asus/f2a85-m/romstage.c') diff --git a/src/mainboard/asus/f2a85-m/romstage.c b/src/mainboard/asus/f2a85-m/romstage.c index bdf03a7fc6..caa32caa72 100644 --- a/src/mainboard/asus/f2a85-m/romstage.c +++ b/src/mainboard/asus/f2a85-m/romstage.c @@ -76,7 +76,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) hudson_lpc_port80(); #endif - AGESAWRAPPER(amdinitmmio); + AGESAWRAPPER_PRE_CONSOLE(amdinitmmio); if (!cpu_init_detectedx && boot_cpu()) { -- cgit v1.2.3