summaryrefslogtreecommitdiff
path: root/src/mainboard/google/nyan_blaze/boardid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/nyan_blaze/boardid.c')
-rw-r--r--src/mainboard/google/nyan_blaze/boardid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/nyan_blaze/boardid.c b/src/mainboard/google/nyan_blaze/boardid.c
index 335da87a50..00f646d392 100644
--- a/src/mainboard/google/nyan_blaze/boardid.c
+++ b/src/mainboard/google/nyan_blaze/boardid.c
@@ -19,7 +19,7 @@
#include <boardid.h>
#include <console/console.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <stdlib.h>
uint8_t board_id(void)
@@ -29,7 +29,7 @@ uint8_t board_id(void)
if (id < 0) {
gpio_t gpio[] = {GPIO(Q3), GPIO(T1), GPIO(X1), GPIO(X4)};
- id = gpio_get_in_tristate_values(gpio, ARRAY_SIZE(gpio), 0);
+ id = gpio_get_tristates(gpio, ARRAY_SIZE(gpio), 0);
printk(BIOS_SPEW, "Board TRISTATE ID: %#x.\n", id);
}