1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <soc/soc_util.h>
8 enum soc_type
get_soc_type(void)
10 uint32_t cpuid
= cpuid_eax(1);
12 if (cpuid_match(cpuid
, PHOENIX_A0_CPUID
, CPUID_ALL_STEPPINGS_MASK
))
16 if (cpuid_match(cpuid
, PHOENIX2_A0_CPUID
, CPUID_ALL_STEPPINGS_MASK
))