Marek Vasut e0df073bc0 arm64: renesas: Deduplicate R-Car Gen3 and Gen4 SPL
Move R-Car Gen3 and Gen4 jump_to_image_no_args() into dedicated
rcar64-spl.c file. The implementation of jump_to_image_no_args()
is identical. No functional change.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2025-01-29 22:52:35 +01:00

50 lines
693 B
Makefile

#
# board/renesas/whitehawk/Makefile
#
# Copyright (C) 2024 Marek Vasut <marek.vasut+renesas@mailbox.org>
#
# SPDX-License-Identifier: GPL-2.0+
#
# R-Car SoCs
ifndef CONFIG_RZG2L
# 32 bit SoCs
ifdef CONFIG_RCAR_32
ifdef CONFIG_RCAR_GEN2
endif
endif
# 64 bit SoCs
ifdef CONFIG_RCAR_64
ifdef CONFIG_XPL_BUILD
obj-y += rcar64-spl.o
else
obj-y += rcar64-common.o
endif
ifdef CONFIG_RCAR_GEN3
ifdef CONFIG_XPL_BUILD
obj-y += gen3-spl.o
else
obj-y += gen3-common.o
ifdef CONFIG_R8A77970
obj-y += v3-common.o
endif
ifdef CONFIG_R8A77980
obj-y += v3-common.o
endif
endif
endif
ifdef CONFIG_RCAR_GEN4
ifdef CONFIG_XPL_BUILD
obj-y += gen4-spl.o
else
obj-y += gen4-common.o
endif
endif
endif
endif