diff options
-rw-r--r-- | src/soc/amd/genoa/romstage.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/soc/amd/genoa/romstage.c b/src/soc/amd/genoa/romstage.c index f4c5584c30..66a2140c07 100644 --- a/src/soc/amd/genoa/romstage.c +++ b/src/soc/amd/genoa/romstage.c @@ -1,10 +1,16 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <amdblocks/post_codes.h> +#include <amdblocks/memmap.h> +#include <cbmem.h> +#include <program_loading.h> #include <romstage_common.h> -#include <halt.h> void __noreturn romstage_main(void) { - /* Needed for __noreturn */ - halt(); + post_code(POSTCODE_ROMSTAGE_MAIN); + + cbmem_initialize_empty(); + memmap_stash_early_dram_usage(); + run_ramstage(); } |