From 6ca3375c08f1655a8d01e6f005a958506f22192d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 18 Mar 2021 00:58:26 +0100 Subject: soc/amd/picasso/soc_util.c: Fix typo in macro name Change-Id: I3225fa4e53a75c2bf6fe0dcea85db57efe489482 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51615 Reviewed-by: Felix Held Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/soc_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3