summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cyan/chromeos.c')
-rw-r--r--src/mainboard/google/cyan/chromeos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/cyan/chromeos.c b/src/mainboard/google/cyan/chromeos.c
index 5d5bc556e5..154b913c4c 100644
--- a/src/mainboard/google/cyan/chromeos.c
+++ b/src/mainboard/google/cyan/chromeos.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <boot/coreboot_tables.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/gpio.h>
@@ -25,9 +26,6 @@
#define WP_GPIO GP_E_22
-#if ENV_RAMSTAGE
-#include <boot/coreboot_tables.h>
-
#define ACTIVE_LOW 0
#define ACTIVE_HIGH 1
@@ -41,7 +39,6 @@ void fill_lb_gpios(struct lb_gpios *gpios)
};
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
}
-#endif /* ENV_RAMSTAGE */
int get_write_protect_state(void)
{