summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/ebda/ebda.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/ebda/ebda.c')
-rw-r--r--src/soc/intel/common/block/ebda/ebda.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/ebda/ebda.c b/src/soc/intel/common/block/ebda/ebda.c
index d16ad6e4c0..41c77a8f2c 100644
--- a/src/soc/intel/common/block/ebda/ebda.c
+++ b/src/soc/intel/common/block/ebda/ebda.c
@@ -14,6 +14,7 @@
*/
#include <arch/ebda.h>
+#include <compiler.h>
#include <intelblocks/ebda.h>
#include <string.h>
@@ -24,7 +25,7 @@
*/
/* Fill up EBDA structure inside Mainboard directory */
-__attribute__((weak)) void create_mainboard_ebda(struct ebda_config *cfg)
+__weak void create_mainboard_ebda(struct ebda_config *cfg)
{
/* no-op */
}