platform/x86/amd/pmf: Relocate CPU ID macros to the PMF header
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Mon, 19 Aug 2024 06:34:03 +0000 (12:04 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Aug 2024 10:17:17 +0000 (12:17 +0200)
commit37578054173919d898d2fe0b76d2f5d713937403
tree696f662b0adb710bdcc4f10269969ad3635c9540
parent023a25b071a2d28f8eb8ba46da14f275c92d38d1
platform/x86/amd/pmf: Relocate CPU ID macros to the PMF header

The CPU ID macros are needed by the Smart PC builder. Therefore, transfer
the CPU ID macros from core.c to the common PMF header file.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20240819063404.378061-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmf/core.c
drivers/platform/x86/amd/pmf/pmf.h