aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynqmp
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-09-03 10:47:49 +0200
committerMichal Simek <michal.simek@xilinx.com>2020-09-23 10:31:40 +0200
commit96a60c03b9756dfb9fb1c2fd72a25cdddbeef150 (patch)
treee8feb7f336d4514f5b52c4048e79156d23489892 /arch/arm/mach-zynqmp
parenta253092d499969bcf774de98dc5374328bf74d15 (diff)
downloadu-boot-96a60c03b9756dfb9fb1c2fd72a25cdddbeef150.zip
u-boot-96a60c03b9756dfb9fb1c2fd72a25cdddbeef150.tar.gz
u-boot-96a60c03b9756dfb9fb1c2fd72a25cdddbeef150.tar.bz2
arm64: zynqmp: Change bl2_plat_get_bl31_params() guarding
It was protected just for SPL_OS_BOOT but this function is only called when SPL_ATF is enabled that's why change macro name. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r--arch/arm/mach-zynqmp/handoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynqmp/handoff.c b/arch/arm/mach-zynqmp/handoff.c
index 64e5320..7d7ab9d 100644
--- a/arch/arm/mach-zynqmp/handoff.c
+++ b/arch/arm/mach-zynqmp/handoff.c
@@ -65,7 +65,7 @@ struct xfsbl_atf_handoff_params {
struct xfsbl_partition partition[FSBL_MAX_PARTITIONS];
};
-#ifdef CONFIG_SPL_OS_BOOT
+#ifdef CONFIG_SPL_ATF
struct bl31_params *bl2_plat_get_bl31_params(uintptr_t bl32_entry,
uintptr_t bl33_entry,
uintptr_t fdt_addr)