diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2019-07-19 10:03:09 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-07-21 18:48:04 +0000 |
commit | 7f383c0b4122193a5cd1efaa2aad214ed9f01896 (patch) | |
tree | a49dc9c32fe69aa415795997da4ece160ab7d633 /src/mainboard/google/hatch/variants | |
parent | 2de57585a0a357e55dbbb9bca2b2db84abf1c98c (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/variants')
-rw-r--r-- | src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h index 4cb11945ca..71a2362b00 100644 --- a/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h @@ -43,6 +43,9 @@ const struct pad_config *variant_sleep_gpio_table(u8 slp_typ, size_t *num); /* Return ChromeOS gpio table and fill in number of entries. */ const struct cros_gpio *variant_cros_gpios(size_t *num); +/* Return board SKU */ +uint32_t get_board_sku(void); + /* Modify devictree settings during ramstage. */ void variant_devtree_update(void); |