Angel Pons | 381c4eb | 2020-04-03 01:22:06 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 2 | |
Elyes HAOUAS | 19f5ba8 | 2018-10-14 14:52:06 +0200 | [diff] [blame] | 3 | #include <AGESA.h> |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 4 | #include <northbridge/amd/agesa/BiosCallOuts.h> |
Kyösti Mälkki | f27cb24 | 2017-03-04 07:51:21 +0200 | [diff] [blame] | 5 | #include <northbridge/amd/agesa/state_machine.h> |
Elyes HAOUAS | 19f5ba8 | 2018-10-14 14:52:06 +0200 | [diff] [blame] | 6 | #include <FchPlatform.h> |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 7 | |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 8 | const BIOS_CALLOUT_STRUCT BiosCallouts[] = |
| 9 | { |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 10 | {AGESA_DO_RESET, agesa_Reset }, |
| 11 | {AGESA_READ_SPD, agesa_ReadSpd }, |
| 12 | {AGESA_READ_SPD_RECOVERY, agesa_NoopUnsupported }, |
| 13 | {AGESA_RUNFUNC_ONAP, agesa_RunFuncOnAp }, |
| 14 | {AGESA_GET_IDS_INIT_DATA, agesa_EmptyIdsInitData }, |
| 15 | {AGESA_HOOKBEFORE_DQS_TRAINING, agesa_NoopSuccess }, |
| 16 | {AGESA_HOOKBEFORE_EXIT_SELF_REF, agesa_NoopSuccess }, |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 17 | {AGESA_GNB_GFX_GET_VBIOS_IMAGE, agesa_GfxGetVbiosImage } |
| 18 | }; |
| 19 | const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts); |
| 20 | |
Kyösti Mälkki | f27cb24 | 2017-03-04 07:51:21 +0200 | [diff] [blame] | 21 | void board_FCH_InitReset(struct sysinfo *cb_NA, FCH_RESET_DATA_BLOCK *FchParams_reset) |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 22 | { |
Kyösti Mälkki | f27cb24 | 2017-03-04 07:51:21 +0200 | [diff] [blame] | 23 | } |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 24 | |
Kyösti Mälkki | f27cb24 | 2017-03-04 07:51:21 +0200 | [diff] [blame] | 25 | void board_FCH_InitEnv(struct sysinfo *cb_NA, FCH_DATA_BLOCK *FchParams_env) |
| 26 | { |
Kyösti Mälkki | e75deb6 | 2014-06-26 09:12:54 +0300 | [diff] [blame] | 27 | } |