diff options
author | Yann Gautier <yann.gautier@st.com> | 2020-07-17 14:20:15 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-04 23:30:02 -0400 |
commit | 5cc7df7ebaccc0d02e3322a35b2dcb47951bc9ae (patch) | |
tree | 4714adad5d0daf13c94c177d91086490203f2a5e /configs/A20-Olimex-SOM204-EVB-eMMC_defconfig | |
parent | 06fc4573b9d0878dd1d3b302884601263fe6e85f (diff) |
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>
Diffstat (limited to 'configs/A20-Olimex-SOM204-EVB-eMMC_defconfig')
0 files changed, 0 insertions, 0 deletions