summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kukui/boardid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/kukui/boardid.c b/src/mainboard/google/kukui/boardid.c
index 26ae82f3a6..03485dce46 100644
--- a/src/mainboard/google/kukui/boardid.c
+++ b/src/mainboard/google/kukui/boardid.c
@@ -39,7 +39,7 @@ static uint32_t get_index(unsigned int channel, uint32_t *cached_id)
uint32_t id;
- if (*cached_id != BOARD_ID_UNKNOWN)
+ if (*cached_id != BOARD_ID_INIT)
return *cached_id;
int value = auxadc_get_voltage(channel);
@@ -57,12 +57,12 @@ static uint32_t get_index(unsigned int channel, uint32_t *cached_id)
uint32_t board_id(void)
{
- static uint32_t cached_board_id = BOARD_ID_UNKNOWN;
+ static uint32_t cached_board_id = BOARD_ID_INIT;
return get_index(4, &cached_board_id);
}
uint32_t ram_code(void)
{
- static uint32_t cached_ram_code = BOARD_ID_UNKNOWN;
+ static uint32_t cached_ram_code = BOARD_ID_INIT;
return get_index(3, &cached_ram_code);
}