summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/agesawrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/agesa/agesawrapper.h')
-rw-r--r--src/northbridge/amd/agesa/agesawrapper.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/northbridge/amd/agesa/agesawrapper.h b/src/northbridge/amd/agesa/agesawrapper.h
index 9ba0baa568..d7a137c679 100644
--- a/src/northbridge/amd/agesa/agesawrapper.h
+++ b/src/northbridge/amd/agesa/agesawrapper.h
@@ -16,8 +16,7 @@
#ifndef _AGESAWRAPPER_H_
#define _AGESAWRAPPER_H_
-#if IS_ENABLED(CONFIG_AGESA_LEGACY_WRAPPER) || \
- IS_ENABLED(CONFIG_BINARYPI_LEGACY_WRAPPER)
+#if IS_ENABLED(CONFIG_BINARYPI_LEGACY_WRAPPER)
#include <stdint.h>
#include "Porting.h"
@@ -52,20 +51,6 @@ static inline int agesawrapper_amds3laterestore(void) { return -1; }
#endif
-#if IS_ENABLED(CONFIG_AGESA_LEGACY_WRAPPER)
-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;
-#endif
-
#if IS_ENABLED(CONFIG_BINARYPI_LEGACY_WRAPPER)
const void *agesawrapper_locate_module (const CHAR8 name[8]);