diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2020-05-18 10:12:20 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-20 19:10:37 +0100 |
commit | f2ae97062a48b114bcf8fb2e99574d9ed2c2cd1b (patch) | |
tree | 15ae441ab539114219be045bc40663142f23cfe3 /include/linux/psci.h | |
parent | ad5a57dfe434b02ab28852703d7ad5510998ccef (diff) | |
download | linux-stable-f2ae97062a48b114bcf8fb2e99574d9ed2c2cd1b.tar.gz linux-stable-f2ae97062a48b114bcf8fb2e99574d9ed2c2cd1b.tar.bz2 linux-stable-f2ae97062a48b114bcf8fb2e99574d9ed2c2cd1b.zip |
firmware: smccc: Refactor SMCCC specific bits into separate file
In order to add newer SMCCC v1.1+ functionality and to avoid cluttering
PSCI firmware driver with SMCCC bits, let us move the SMCCC specific
details under drivers/firmware/smccc/smccc.c
We can also drop conduit and smccc_version from psci_operations structure
as SMCCC was the sole user and now it maintains those.
No functionality change in this patch though.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@st.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200518091222.27467-6-sudeep.holla@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/psci.h')
-rw-r--r-- | include/linux/psci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/psci.h b/include/linux/psci.h index 29bd0671e5bb..14ad9b9ebcd6 100644 --- a/include/linux/psci.h +++ b/include/linux/psci.h @@ -30,8 +30,6 @@ struct psci_operations { int (*affinity_info)(unsigned long target_affinity, unsigned long lowest_affinity_level); int (*migrate_info_type)(void); - enum arm_smccc_conduit conduit; - u32 smccc_version; }; extern struct psci_operations psci_ops; |