fsl-layerscape: do not use layerscape EFI reset if PSCI used

If the secure world reset handlers are used (via CONFIG_PSCI_RESET),
then do not use the layerscape-specific implementation.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Mathew McBride 2019-10-18 14:27:54 +11:00 committed by Priyanka Jain
parent b50fe3fb7e
commit 28f9393b1a
1 changed files with 1 additions and 1 deletions

View File

@ -1221,7 +1221,7 @@ void __efi_runtime reset_cpu(ulong addr)
#endif
}
#ifdef CONFIG_EFI_LOADER
#if defined(CONFIG_EFI_LOADER) && !defined(CONFIG_PSCI_RESET)
void __efi_runtime EFIAPI efi_reset_system(
enum efi_reset_type reset_type,