arm: socfpga: smc: Add function to get usercode
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Thu, 25 Mar 2021 06:07:45 +0000 (14:07 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Thu, 8 Apr 2021 09:29:13 +0000 (17:29 +0800)
commit96fe4f6485e92ed9da464c96c5f536698c5ee66d
tree158ad436e7a2568ec6e0d6f7fec3e86eac8a9455
parentcdca9860705291de736d40ddc52acba2daaec106
arm: socfpga: smc: Add function to get usercode

Add function to send mailbox command via SMC to get usercode from SDM.

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/include/mach/smc_api.h
arch/arm/mach-socfpga/smc_api.c
include/linux/intel-smc.h