summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-17 05:28:38 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-19 00:03:37 +0000
commit9c5a9bba8e58e2af4af7e36ae22d00a11cfd532d (patch)
tree5bfac184634bf0fcb4b78dd7be2f8ac99dbb7203 /src/mainboard/google/slippy
parent157b189f6b97b6e9ecd8d29edbbd045fbbc231f5 (diff)
downloadcoreboot-9c5a9bba8e58e2af4af7e36ae22d00a11cfd532d.tar.xz
mainboard/google: Remove use of __PRE_RAM__
Change-Id: I2ebeb393e4a5a4bfac8a37a877d067aca484ca2e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34927 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/slippy')
-rw-r--r--src/mainboard/google/slippy/chromeos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/slippy/chromeos.c b/src/mainboard/google/slippy/chromeos.c
index f52bace271..772b5a874b 100644
--- a/src/mainboard/google/slippy/chromeos.c
+++ b/src/mainboard/google/slippy/chromeos.c
@@ -14,13 +14,11 @@
*/
#include <bootmode.h>
+#include <boot/coreboot_tables.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <southbridge/intel/common/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
-#ifndef __PRE_RAM__
-#include <boot/coreboot_tables.h>
-
void fill_lb_gpios(struct lb_gpios *gpios)
{
struct lb_gpio chromeos_gpios[] = {
@@ -31,7 +29,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)
{