diff options
Diffstat (limited to 'src/northbridge/amd/agesa/agesawrapper.h')
-rw-r--r-- | src/northbridge/amd/agesa/agesawrapper.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/agesawrapper.h b/src/northbridge/amd/agesa/agesawrapper.h index 8147f85546..7c32bf19b8 100644 --- a/src/northbridge/amd/agesa/agesawrapper.h +++ b/src/northbridge/amd/agesa/agesawrapper.h @@ -64,6 +64,9 @@ struct OEM_HOOK /* romstage */ AGESA_STATUS (*InitEarly)(AMD_EARLY_PARAMS *); AGESA_STATUS (*InitPost)(AMD_POST_PARAMS *); + + /* ramstage */ + AGESA_STATUS (*InitMid)(AMD_MID_PARAMS *); }; extern const struct OEM_HOOK OemCustomize; @@ -80,4 +83,10 @@ static inline void OemCustomizeInitPost(AMD_POST_PARAMS *PostParams) OemCustomize.InitPost(PostParams); } +static inline void OemCustomizeInitMid(AMD_MID_PARAMS *MidParams) +{ + if (OemCustomize.InitMid) + OemCustomize.InitMid(MidParams); +} + #endif /* _AGESAWRAPPER_H_ */ |