u-boot-brain/drivers/firmware
Yann Gautier 5cc7df7eba psci: put psci_method in .data section if EFI_LOADER is not enabled
Move the variable psci_method in .data section when EFI is not
activated and the psci driver safely access it before relocation.

Without this patch the variable is located in .bss section
and the psci probe requested before relocation corrupts the device
tree (probe is requested by board_f.c::print_resetinfo()).

When EFI_LOADER is activated, this variable in already located in the
.data.efi_runtime section by __efi_runtime_data.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
2020-08-04 23:30:02 -04: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 firmware: zynqmp: Change panic logic in zynqmp_pmufw_load_config_object() 2020-06-24 13:07:57 +02: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 psci: put psci_method in .data section if EFI_LOADER is not enabled 2020-08-04 23:30:02 -04: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