AGESA: Trace execution with AGESAWRAPPER()
Implement logging just once to have uniform output. Change-Id: I8db694a3bf6b1af459bdf98f7acb99edf4dd07f7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6180 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
06ff7268f6
commit
7b23ae0e89
28 changed files with 203 additions and 751 deletions
|
|
@ -22,19 +22,16 @@
|
|||
#include <console/console.h>
|
||||
|
||||
#include "agesawrapper.h"
|
||||
#include <northbridge/amd/agesa/agesawrapper_call.h>
|
||||
|
||||
void get_bus_conf(void);
|
||||
|
||||
static void agesawrapper_post_device(void *unused)
|
||||
{
|
||||
u32 status;
|
||||
if (acpi_is_wakeup_s3())
|
||||
return;
|
||||
|
||||
status = agesawrapper_amdinitlate();
|
||||
if (status) {
|
||||
printk(BIOS_DEBUG, "agesawrapper_amdinitlate failed: %x \n", status);
|
||||
}
|
||||
AGESAWRAPPER(amdinitlate);
|
||||
|
||||
/* Preparation for write_tables(). */
|
||||
get_bus_conf();
|
||||
|
|
@ -42,10 +39,7 @@ static void agesawrapper_post_device(void *unused)
|
|||
if (!acpi_s3_resume_allowed())
|
||||
return;
|
||||
|
||||
status = agesawrapper_amdS3Save();
|
||||
if (status) {
|
||||
printk(BIOS_DEBUG, "agesawrapper_amds3save failed: %x \n", status);
|
||||
}
|
||||
AGESAWRAPPER(amdS3Save);
|
||||
}
|
||||
|
||||
BOOT_STATE_INIT_ENTRIES(agesa_bscb) = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue