summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSuma Hegde <suma.hegde@amd.com>2024-01-06 05:25:25 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-01-25 15:51:22 +0300
commit17998b3e529bf161bb6ab52c7aafb8a9e2270a7f (patch)
treed66caac0bbe72955bf1c343acf87c834e056cf93 /include/linux
parente76064e34a371731e3f0da13ffbda16f6e51a202 (diff)
downloadlinux-17998b3e529bf161bb6ab52c7aafb8a9e2270a7f.tar.xz
platform/x86/amd/hsmp: Define a struct to hold mailbox regs
Define struct hsmp_mbaddr_info with register offsets and populate them during probe, which avoids the usage of macros in core functions. During ACPI probe, the same fields can be populated from ACPI table. Also move plat dev init to a static function. Signed-off-by: Suma Hegde <suma.hegde@amd.com> Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240106022532.1746932-4-suma.hegde@amd.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions