Only call SMCCC init on arm64
We don't build the smccc code on arm so don't call into it there.
This commit is contained in:
parent
15dbf5a241
commit
7ca55fcc54
@ -344,7 +344,9 @@ psci_attach(device_t dev, psci_initfn_t psci_init, int default_version)
|
||||
if (psci_init(dev, default_version))
|
||||
return (ENXIO);
|
||||
|
||||
#ifdef __aarch64__
|
||||
smccc_init();
|
||||
#endif
|
||||
|
||||
psci_softc = sc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user