u-boot/drivers/firmware
Jon Hunter fb264efbd2 firmware: PSCI: Fix PSCI support for OF live trees
When CONFIG_OF_LIVE is enabled, dev_of_offset() cannot be used and
if used returns an invalid offset. This causes the call to
fdt_stringlist_get() in the psci_probe() to fail to read the 'method'
property from the PSCI node for the device and hence prevents PSCI
from working. Fix this by using the ofnode_read_string() API instead
of the fdt_stringlist_get() because this will handle reading the
property both when CONFIG_OF_LIVE is enabled or disabled.

Due to the above problem and since commit 81ea00838c ("efi_loader:
PSCI reset and shutdown") was added, the EFI system reset has been
broken for Tegra210 and Tegra196 platforms. This also fixes the EFI
system reset for these Tegra platforms.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
2020-06-18 13:14:50 -07:00
..
firmware-sandbox.c dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
firmware-uclass.c dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
firmware-zynqmp.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
Kconfig zynqmp: firmware: Add Xilinx ZynqMP firmware driver 2019-10-08 09:11:14 +02:00
Makefile zynqmp: firmware: Add Xilinx ZynqMP firmware driver 2019-10-08 09:11:14 +02:00
psci.c firmware: PSCI: Fix PSCI support for OF live trees 2020-06-18 13:14:50 -07:00
ti_sci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ti_sci.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00