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>
This commit is contained in:
parent
0afecd8d08
commit
6ca3375c08
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue