summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/mainboard.c
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2019-07-19 10:03:09 +0800
committerMartin Roth <martinroth@google.com>2019-07-21 18:48:04 +0000
commit7f383c0b4122193a5cd1efaa2aad214ed9f01896 (patch)
treea49dc9c32fe69aa415795997da4ece160ab7d633 /src/mainboard/google/hatch/mainboard.c
parent2de57585a0a357e55dbbb9bca2b2db84abf1c98c (diff)
mb/google/hatch: expose get_board_sku() as global
BUG=None TEST=emerge-hatch coreboot chromeos-bootimage Change-Id: I217e13acd337034554ff055e8bf5011558d1f8bf Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34431 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/hatch/mainboard.c')
-rw-r--r--src/mainboard/google/hatch/mainboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/mainboard.c b/src/mainboard/google/hatch/mainboard.c
index eb77a0030b..4d5e8ed5f8 100644
--- a/src/mainboard/google/hatch/mainboard.c
+++ b/src/mainboard/google/hatch/mainboard.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <baseboard/variants.h>
#include <boardid.h>
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
@@ -23,7 +24,7 @@
#define SKU_UNKNOWN 0xFFFFFFFF
#define SKU_MAX 255
-static uint32_t get_board_sku(void)
+uint32_t get_board_sku(void)
{
static uint32_t sku_id = SKU_UNKNOWN;