HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37744 )
Change subject: [Try] mb/amd/parmer: Switch away from ROMCC_BOOTBLOCK ......................................................................
[Try] mb/amd/parmer: Switch away from ROMCC_BOOTBLOCK
Untested.
Change-Id: Id088304ddbd7aa05399f3172c2bdb6360d41f834 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/amd/parmer/Kconfig M src/mainboard/amd/parmer/Makefile.inc R src/mainboard/amd/parmer/bootblock.c 3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/37744/1
diff --git a/src/mainboard/amd/parmer/Kconfig b/src/mainboard/amd/parmer/Kconfig index 3b6cb5c..820d43e 100644 --- a/src/mainboard/amd/parmer/Kconfig +++ b/src/mainboard/amd/parmer/Kconfig @@ -17,7 +17,6 @@
config BOARD_SPECIFIC_OPTIONS def_bool y - select ROMCC_BOOTBLOCK select CPU_AMD_AGESA_FAMILY15_TN select NORTHBRIDGE_AMD_AGESA_FAMILY15_TN select SOUTHBRIDGE_AMD_AGESA_HUDSON diff --git a/src/mainboard/amd/parmer/Makefile.inc b/src/mainboard/amd/parmer/Makefile.inc index f8895fa..4dde2cf 100644 --- a/src/mainboard/amd/parmer/Makefile.inc +++ b/src/mainboard/amd/parmer/Makefile.inc @@ -13,6 +13,8 @@ # GNU General Public License for more details. #
+bootblock-y += bootblock.c + romstage-y += buildOpts.c romstage-y += BiosCallOuts.c romstage-y += OemCustomize.c diff --git a/src/mainboard/amd/parmer/romstage.c b/src/mainboard/amd/parmer/bootblock.c similarity index 83% rename from src/mainboard/amd/parmer/romstage.c rename to src/mainboard/amd/parmer/bootblock.c index 6366c4e..d4bb8c2 100644 --- a/src/mainboard/amd/parmer/romstage.c +++ b/src/mainboard/amd/parmer/bootblock.c @@ -13,11 +13,10 @@ * GNU General Public License for more details. */
+#include <bootblock_common.h> #include <device/pci_ops.h> -#include <northbridge/amd/agesa/state_machine.h> -#include <southbridge/amd/agesa/hudson/hudson.h>
-void board_BeforeAgesa(struct sysinfo *cb) +void bootblock_mainboard_early_init(void) { pci_devfn_t dev = PCI_DEV(0, 0x14, 3);