summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-18 00:58:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-03-19 11:22:32 +0000
commit6ca3375c08f1655a8d01e6f005a958506f22192d (patch)
treec28bfb1ee81c600e3a765933cad93eb1cc08c667 /src/soc/amd/picasso
parent0afecd8d08a9cbca4dde1bb9f0b18e4028a55390 (diff)
soc/amd/picasso/soc_util.c: Fix typo in macro name
Change-Id: I3225fa4e53a75c2bf6fe0dcea85db57efe489482 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51615 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/soc_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/soc_util.c b/src/soc/amd/picasso/soc_util.c
index 12129206cf..c82416ea18 100644
--- a/src/soc/amd/picasso/soc_util.c
+++ b/src/soc/amd/picasso/soc_util.c
@@ -18,13 +18,13 @@
*/
#define SOCKET_TYPE_SHIFT 28
-#define SOCKET_TYPSE_MASK (0xf << SOCKET_TYPE_SHIFT)
+#define SOCKET_TYPE_MASK (0xf << SOCKET_TYPE_SHIFT)
/* some Pollock engineering samples return the wrong socket type */
enum socket_type get_socket_type(void)
{
uint32_t ebx = cpuid_ebx(0x80000001);
- ebx = (ebx & SOCKET_TYPSE_MASK) >> SOCKET_TYPE_SHIFT;
+ ebx = (ebx & SOCKET_TYPE_MASK) >> SOCKET_TYPE_SHIFT;
return (enum socket_type)ebx;
}