1if RCAR_GEN3
2
3menu "Select Target SoC"
4
5config R8A774A1
6	bool "Renesas SoC R8A774A1"
7
8config R8A774B1
9	bool "Renesas SoC R8A774B1"
10	imply CLK_R8A774B1
11	imply PINCTRL_PFC_R8A774B1
12
13config R8A774C0
14	bool "Renesas SoC R8A774C0"
15	imply CLK_R8A774C0
16
17config R8A774E1
18	bool "Renesas SoC R8A774E1"
19	imply CLK_R8A774E1
20	imply PINCTRL_PFC_R8A774E1
21
22config R8A7795
23	bool "Renesas SoC R8A7795"
24	imply CLK_R8A7795
25	imply PINCTRL_PFC_R8A7795
26
27config R8A7796
28	bool "Renesas SoC R8A7796"
29	imply CLK_R8A7796
30	imply PINCTRL_PFC_R8A7796
31
32config R8A77965
33	bool "Renesas SoC R8A77965"
34	imply CLK_R8A77965
35	imply PINCTRL_PFC_R8A77965
36
37config R8A77970
38	bool "Renesas SoC R8A77970"
39	imply CLK_R8A77970
40	imply PINCTRL_PFC_R8A77970
41
42config R8A77980
43	bool "Renesas SoC R8A77980"
44	imply CLK_R8A77980
45	imply PINCTRL_PFC_R8A77980
46
47config R8A77990
48	bool "Renesas SoC R8A77990"
49	imply CLK_R8A77990
50	imply PINCTRL_PFC_R8A77990
51
52config R8A77995
53	bool "Renesas SoC R8A77995"
54	imply CLK_R8A77995
55	imply PINCTRL_PFC_R8A77995
56
57endmenu
58
59choice
60	prompt "Renesas ARM64 SoCs board select"
61	optional
62
63config TARGET_BEACON_RZG2H
64	bool "Beacon EmbeddedWorks RZ/G2H Dev Kit"
65	select R8A774E1
66	select PINCTRL_PFC_R8A774E1
67
68config TARGET_BEACON_RZG2M
69	bool "Beacon EmbeddedWorks RZ/G2M Dev Kit"
70	select R8A774A1
71	select PINCTRL_PFC_R8A774A1
72
73config TARGET_BEACON_RZG2N
74	bool "Beacon EmbeddedWorks RZ/G2N Dev Kit"
75	select R8A774B1
76	select PINCTRL_PFC_R8A774B1
77
78config TARGET_CONDOR
79	bool "Condor board"
80	imply R8A77980
81	help
82          Support for Renesas R-Car Gen3 Condor platform
83
84config TARGET_DRAAK
85	bool "Draak board"
86	imply R8A77995
87	help
88          Support for Renesas R-Car Gen3 Draak platform
89
90config TARGET_EAGLE
91	bool "Eagle board"
92	imply R8A77970
93	help
94          Support for Renesas R-Car Gen3 Eagle platform
95
96config TARGET_EBISU
97	bool "Ebisu board"
98	imply R8A77990
99	help
100          Support for Renesas R-Car Gen3 Ebisu platform
101
102config TARGET_SALVATOR_X
103	bool "Salvator-X board"
104	imply R8A7795
105	imply R8A7796
106	imply R8A77965
107	imply SYS_MALLOC_F
108	imply MULTI_DTB_FIT
109	imply MULTI_DTB_FIT_USER_DEFINED_AREA
110	help
111          Support for Renesas R-Car Gen3 platform
112
113config TARGET_ULCB
114	bool "ULCB board"
115	imply R8A7795
116	imply R8A7796
117	imply R8A77965
118	imply SYS_MALLOC_F
119	imply MULTI_DTB_FIT
120	imply MULTI_DTB_FIT_USER_DEFINED_AREA
121	help
122          Support for Renesas R-Car Gen3 ULCB platform
123
124endchoice
125
126config SYS_SOC
127	default "rmobile"
128
129source "board/renesas/condor/Kconfig"
130source "board/renesas/draak/Kconfig"
131source "board/renesas/eagle/Kconfig"
132source "board/renesas/ebisu/Kconfig"
133source "board/renesas/salvator-x/Kconfig"
134source "board/renesas/ulcb/Kconfig"
135source "board/beacon/beacon-rzg2m/Kconfig"
136
137config MULTI_DTB_FIT_UNCOMPRESS_SZ
138	default 0x80000 if TARGET_SALVATOR_X
139	default 0x80000 if TARGET_ULCB
140
141config MULTI_DTB_FIT_USER_DEF_ADDR
142	default 0x49000000 if TARGET_SALVATOR_X
143	default 0x49000000 if TARGET_ULCB
144
145config SYS_MALLOC_F_LEN
146	default 0x8000 if RCAR_GEN3
147
148endif
149