diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2020-05-18 20:27:04 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-05-20 00:06:34 +0000 |
commit | bf213087057f61b37d9586414e47a8cf2cfc23a1 (patch) | |
tree | 382ced2455ca3131fb2bcda49b03e41d4767bf0f /src/soc/amd/picasso/include | |
parent | 4480dc1ca1fd6982a3b4cbc6cf1531992f517fb2 (diff) |
soc/amd/picasso/soc_util: add socket type detection and printing
Change-Id: I643a4c5f8a42a5fb0603a1a049545b57d16493a6
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41517
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/include')
-rw-r--r-- | src/soc/amd/picasso/include/soc/soc_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/include/soc/soc_util.h b/src/soc/amd/picasso/include/soc/soc_util.h index 9d769b9417..8e2c598630 100644 --- a/src/soc/amd/picasso/include/soc/soc_util.h +++ b/src/soc/amd/picasso/include/soc/soc_util.h @@ -1,5 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +enum socket_type { + SOCKET_FP5 = 0, + SOCKET_AM4 = 2, + SOCKET_FT5 = 3, +}; + +void print_socket_type(void); + int soc_is_pollock(void); int soc_is_dali(void); int soc_is_picasso(void); |