summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/agesa/amd_late_init.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/cpu/amd/agesa/amd_late_init.c b/src/cpu/amd/agesa/amd_late_init.c
index 8bce364328..cf1caf1afd 100644
--- a/src/cpu/amd/agesa/amd_late_init.c
+++ b/src/cpu/amd/agesa/amd_late_init.c
@@ -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) = {