1 // SPDX-License-Identifier: BSD-2-Clause 2 /* 3 * Copyright (c) 2021, Microchip 4 */ 5 6 #include <sm/psci.h> 7 #include <sm/std_smc.h> 8 #include <stdint.h> 9 10 int psci_features(uint32_t psci_fid) 11 { 12 switch (psci_fid) { 13 case ARM_SMCCC_VERSION: 14 return PSCI_RET_SUCCESS; 15 default: 16 return PSCI_RET_NOT_SUPPORTED; 17 } 18 } 19