blob: 5e51b691178b453bca7fbfafa17ae26c09546661 [file] [log] [blame]
Marek Vasut276dad42025-01-29 18:04:28 +01001#
Marek Vasut276dad42025-01-29 18:04:28 +01002# Copyright (C) 2024 Marek Vasut <marek.vasut+renesas@mailbox.org>
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
7# R-Car SoCs
8ifndef CONFIG_RZG2L
9
10# 32 bit SoCs
11ifdef CONFIG_RCAR_32
12ifdef CONFIG_RCAR_GEN2
13endif
14endif
15
16# 64 bit SoCs
17ifdef CONFIG_RCAR_64
Marek Vasutecc23132025-01-29 18:04:34 +010018ifdef CONFIG_XPL_BUILD
19obj-y += rcar64-spl.o
20else
Marek Vasutfc756d72025-01-29 18:04:29 +010021obj-y += rcar64-common.o
Marek Vasut276dad42025-01-29 18:04:28 +010022endif
23
24ifdef CONFIG_RCAR_GEN3
25ifdef CONFIG_XPL_BUILD
26obj-y += gen3-spl.o
27else
28obj-y += gen3-common.o
29ifdef CONFIG_R8A77970
30obj-y += v3-common.o
31endif
32ifdef CONFIG_R8A77980
33obj-y += v3-common.o
34endif
35endif
36endif
37
38ifdef CONFIG_RCAR_GEN4
39ifdef CONFIG_XPL_BUILD
40obj-y += gen4-spl.o
41else
42obj-y += gen4-common.o
43endif
44endif
45endif
46
47endif