From 9de8ab9acec90d36aa23c63f3f46bca3b628d0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 9 Sep 2017 16:51:34 +0300 Subject: AGESA_LEGACY: Apply final cleanup and file removals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With no boards left using AGESA_LEGACY, wipe out remains of that everywhere in the tree. Change-Id: I0ddc1f400e56e42fe8a43b4766195e3a187dcea6 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/18633 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/cpu/amd/agesa/family12/Makefile.inc | 2 +- src/cpu/amd/agesa/family12/romstage.c | 32 -------------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) (limited to 'src/cpu/amd/agesa/family12') diff --git a/src/cpu/amd/agesa/family12/Makefile.inc b/src/cpu/amd/agesa/family12/Makefile.inc index 5673c6b502..1a7465d81f 100644 --- a/src/cpu/amd/agesa/family12/Makefile.inc +++ b/src/cpu/amd/agesa/family12/Makefile.inc @@ -28,7 +28,7 @@ #***************************************************************************** romstage-y += fixme.c -romstage-$(CONFIG_AGESA_NO_LEGACY) += romstage.c +romstage-y += romstage.c ramstage-y += fixme.c ramstage-y += chip_name.c diff --git a/src/cpu/amd/agesa/family12/romstage.c b/src/cpu/amd/agesa/family12/romstage.c index 2a183270d7..9d617efe4b 100644 --- a/src/cpu/amd/agesa/family12/romstage.c +++ b/src/cpu/amd/agesa/family12/romstage.c @@ -14,12 +14,7 @@ * GNU General Public License for more details. */ -#include -#include - -#include #include -#include #include "sb_cimx.h" #include "SbPlatform.h" @@ -33,30 +28,3 @@ void platform_once(struct sysinfo *cb) board_BeforeAgesa(cb); } - -void agesa_main(struct sysinfo *cb) -{ - post_code(0x36); - agesawrapper_amdinitreset(); - - post_code(0x37); - agesawrapper_amdinitearly(); - - printk(BIOS_INFO, "Normal boot\n"); - - post_code(0x38); - agesawrapper_amdinitpost(); -} - -void agesa_postcar(struct sysinfo *cb) -{ - printk(BIOS_INFO, "Normal boot postcar\n"); - - post_code(0x39); - printk(BIOS_DEBUG, "sb_before_pci_init "); - sb_before_pci_init(); - printk(BIOS_DEBUG, "passed.\n"); - - post_code(0x40); - agesawrapper_amdinitenv(); -} -- cgit v1.2.3