summaryrefslogtreecommitdiff
path: root/src/mainboard/google/bolt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/bolt')
-rw-r--r--src/mainboard/google/bolt/chromeos.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mainboard/google/bolt/chromeos.c b/src/mainboard/google/bolt/chromeos.c
index 57241017c8..f003f42586 100644
--- a/src/mainboard/google/bolt/chromeos.c
+++ b/src/mainboard/google/bolt/chromeos.c
@@ -36,8 +36,6 @@
#include <boot/coreboot_tables.h>
#define GPIO_COUNT 6
-#define ACTIVE_LOW 0
-#define ACTIVE_HIGH 1
static int get_lid_switch(void)
{
@@ -50,19 +48,6 @@ static int get_lid_switch(void)
#endif
}
-static void fill_lb_gpio(struct lb_gpio *gpio, int num,
- int polarity, const char *name, int force)
-{
- memset(gpio, 0, sizeof(*gpio));
- gpio->port = num;
- gpio->polarity = polarity;
- if (force >= 0)
- gpio->value = force;
- else if (num >= 0)
- gpio->value = get_gpio(num);
- strncpy((char *)gpio->name, name, GPIO_MAX_NAME_LENGTH);
-}
-
void fill_lb_gpios(struct lb_gpios *gpios)
{
struct lb_gpio *gpio;