aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/spd/spd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cyan/spd/spd.c')
-rw-r--r--src/mainboard/google/cyan/spd/spd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/spd/spd.c b/src/mainboard/google/cyan/spd/spd.c
index a3db2ed6f4..97e14eb758 100644
--- a/src/mainboard/google/cyan/spd/spd.c
+++ b/src/mainboard/google/cyan/spd/spd.c
@@ -16,6 +16,7 @@
#include <cbfs.h>
#include <cbmem.h>
+#include <compiler.h>
#include <console/console.h>
#include <gpio.h>
#include <lib.h>
@@ -28,7 +29,7 @@
#include <spd_bin.h>
#include "spd_util.h"
-__attribute__ ((weak)) uint8_t get_ramid(void)
+__weak uint8_t get_ramid(void)
{
gpio_t spd_gpios[] = {
GP_SW_80, /* SATA_GP3, RAMID0 */