]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Change bl2_plat_get_bl31_params() guarding
authorMichal Simek <michal.simek@xilinx.com>
Thu, 3 Sep 2020 08:47:49 +0000 (10:47 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
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>
arch/arm/mach-zynqmp/handoff.c

index 64e5320acc684cef3f11991292b18132463f1119..7d7ab9da6ec249eed8f78ab1d5fc2be444e25fc2 100644 (file)
@@ -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)