summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rambi/chromeos.c')
-rw-r--r--src/mainboard/google/rambi/chromeos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/rambi/chromeos.c b/src/mainboard/google/rambi/chromeos.c
index 7880154586..859fb0bc6f 100644
--- a/src/mainboard/google/rambi/chromeos.c
+++ b/src/mainboard/google/rambi/chromeos.c
@@ -14,15 +14,13 @@
*/
#include <bootmode.h>
+#include <boot/coreboot_tables.h>
#include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* The WP status pin lives on GPIO_SSUS_6 which is pad 36 in the SUS well. */
#define WP_STATUS_PAD 36
-#ifndef __PRE_RAM__
-#include <boot/coreboot_tables.h>
-
void fill_lb_gpios(struct lb_gpios *gpios)
{
struct lb_gpio chromeos_gpios[] = {
@@ -33,7 +31,6 @@ void fill_lb_gpios(struct lb_gpios *gpios)
};
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
}
-#endif
int get_write_protect_state(void)
{