diff options
author | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-06 15:57:21 -0600 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-10 21:48:30 +0000 |
commit | 1a3de8e5bcc5c83934fa2a690e125b843e8b01ab (patch) | |
tree | 0df3332114bde60848c018a9b5de245a9568ba4a /src/soc/amd/morgana/preload.c | |
parent | 134908381f2b25063558f2ce1414fa70243c9c55 (diff) |
soc/amd/morgana: Add initial commit for new SoC
This is an initial framework for the Morgana SoC.
TODOs have been added to the files for both customization and
commonization.
Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Change-Id: If92e129db10d41595e1dc18a7c1dfe99d57790cc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68195
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/morgana/preload.c')
-rw-r--r-- | src/soc/amd/morgana/preload.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/amd/morgana/preload.c b/src/soc/amd/morgana/preload.c new file mode 100644 index 0000000000..47f3580714 --- /dev/null +++ b/src/soc/amd/morgana/preload.c @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* TODO: Move to common? */ + +#include <bootstate.h> +#include <fsp/api.h> + +static void start_fsps_preload(void *unused) +{ + preload_fsps(); +} + +BOOT_STATE_INIT_ENTRY(BS_PRE_DEVICE, BS_ON_ENTRY, start_fsps_preload, NULL); |