diff options
| author | Marek Vasut <[email protected]> | 2026-03-16 00:52:33 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2026-04-08 19:35:05 +0200 |
| commit | 4f376e6a00eb8c03bfa2a3dc667b07dff00ccb65 (patch) | |
| tree | 468302db584c1775032877130a5e2cc2bb75d32c | |
| parent | f18004993c94ce28537f051987e0f9767c5e0c9b (diff) | |
arm64: renesas: Separate 64bit only code
Conditionally compile code that is only compatible with 64bit ARMv8
on 64bit R-Car Gen3/4/5 SoCs. Protect such code with CONFIG_ARM64.
This split is implemented in preparation for build of Cortex-M33
version of R-Car Gen5 U-Boot for its RSIPM core.
Signed-off-by: Marek Vasut <[email protected]>
| -rw-r--r-- | arch/arm/mach-renesas/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-renesas/Makefile b/arch/arm/mach-renesas/Makefile index c0454fffa48..652a392ba6f 100644 --- a/arch/arm/mach-renesas/Makefile +++ b/arch/arm/mach-renesas/Makefile @@ -9,10 +9,15 @@ obj-y += emac.o obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o obj-$(CONFIG_TMU_TIMER) += ../../sh/lib/time.o obj-$(CONFIG_RCAR_GEN2) += lowlevel_init_ca15.o cpu_info-rcar.o +obj-$(CONFIG_RCAR_GEN3) += cpu_info-rcar.o +obj-$(CONFIG_RCAR_GEN4) += cpu_info-rcar.o +obj-$(CONFIG_RCAR_GEN5) += cpu_info-rcar.o +ifneq ($(CONFIG_ARM64),) obj-$(CONFIG_RCAR_64) += lowlevel_init_gen3.o -obj-$(CONFIG_RCAR_GEN3) += cpu_info-rcar.o memmap-gen3.o -obj-$(CONFIG_RCAR_GEN4) += cpu_info-rcar.o memmap-gen3.o -obj-$(CONFIG_RCAR_GEN5) += cpu_info-rcar.o memmap-gen3.o +obj-$(CONFIG_RCAR_GEN3) += memmap-gen3.o +obj-$(CONFIG_RCAR_GEN4) += memmap-gen3.o +obj-$(CONFIG_RCAR_GEN5) += memmap-gen3.o +endif obj-$(CONFIG_RZ_G2) += cpu_info-rzg.o obj-$(CONFIG_RZG2L) += cpu_info-rzg2l.o memmap-rzg2l.o |
