aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/zoombini/variants/baseboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/zoombini/variants/baseboard')
-rw-r--r--src/mainboard/google/zoombini/variants/baseboard/Makefile.inc3
-rw-r--r--src/mainboard/google/zoombini/variants/baseboard/boardid.c29
2 files changed, 0 insertions, 32 deletions
diff --git a/src/mainboard/google/zoombini/variants/baseboard/Makefile.inc b/src/mainboard/google/zoombini/variants/baseboard/Makefile.inc
index 66ff5f1a60..d81101ab64 100644
--- a/src/mainboard/google/zoombini/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/zoombini/variants/baseboard/Makefile.inc
@@ -15,8 +15,5 @@
bootblock-y += gpio.c
-romstage-y += boardid.c
-
-ramstage-y += boardid.c
ramstage-y += gpio.c
ramstage-y += nhlt.c
diff --git a/src/mainboard/google/zoombini/variants/baseboard/boardid.c b/src/mainboard/google/zoombini/variants/baseboard/boardid.c
deleted file mode 100644
index 21c39cf280..0000000000
--- a/src/mainboard/google/zoombini/variants/baseboard/boardid.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright 2017 Google Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <baseboard/variants.h>
-#include <boardid.h>
-#include <compiler.h>
-#include <ec/google/chromeec/ec.h>
-
-int variant_board_id(void)
-{
- uint32_t id = BOARD_ID_INIT;
-
- if (google_chromeec_get_board_version(&id))
- id = BOARD_ID_UNKNOWN;
-
- return id;
-}