blob: 3061ccd34c8b94cef0d61f46fbf2deda288c7618 [file] [log] [blame]
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001if ARCH_RMOBILE
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09002
Marek Vasut1406bdc2023-02-28 07:28:56 +01003# Renesas ARM SoCs R-Car Gen3/Gen4 (64bit)
4config RCAR_64
5 bool
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +09006 select ARM64
Hiroyuki Yokoyama7b8f69c2018-09-26 14:32:13 +09007 select CMD_CACHE
Marek Vasutce528522021-04-03 16:58:49 +02008 select OF_BOARD_SETUP
Marek Vasutfbae5952023-02-28 07:28:54 +01009 select PHY
Marek Vasut04a9c562019-04-21 22:14:11 +020010 select PINCONF
Marek Vasutfbae5952023-02-28 07:28:54 +010011 select PINCTRL
Marek Vasut04a9c562019-04-21 22:14:11 +020012 select PINCTRL_PFC
Marek Vasut253a9492021-06-13 22:40:45 +020013 select POSITION_INDEPENDENT
Marek Vasutd5ccf462018-12-03 23:46:11 +010014 imply CMD_FS_UUID
15 imply CMD_GPT
Marek Vasutd5ccf462018-12-03 23:46:11 +010016 imply CMD_MMC_SWRITE if MMC
Marek Vasutfbae5952023-02-28 07:28:54 +010017 imply CMD_UUID
Marek Vasut1406bdc2023-02-28 07:28:56 +010018 imply SUPPORT_EMMC_RPMB if MMC
19
20choice
21 prompt "Target Renesas SoC select"
22 default RCAR_32
23
24config RCAR_32
25 bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
26 select CPU_V7A
27
28config RCAR_GEN3
29 bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
30 select RCAR_64
31 select SUPPORT_SPL
Marek Vasute39fa7d2018-10-03 12:44:13 +020032 imply SPL
33 imply SPL_BOARD_INIT
34 imply SPL_GZIP
35 imply SPL_LIBCOMMON_SUPPORT
36 imply SPL_LIBGENERIC_SUPPORT
Simon Glassf4d60392021-08-08 12:20:12 -060037 imply SPL_SERIAL
Marek Vasute39fa7d2018-10-03 12:44:13 +020038 imply SPL_SYS_MALLOC_SIMPLE
39 imply SPL_TINY_MEMSET
Simon Glass7611ac62019-09-25 08:56:27 -060040 imply SPL_USE_TINY_PRINTF
Marek Vasutfbae5952023-02-28 07:28:54 +010041 imply SPL_YMODEM_SUPPORT
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +090042
Hai Pham9046b5f2023-02-28 22:22:03 +010043config RCAR_GEN4
44 bool "Renesas ARM SoCs R-Car Gen4 (64bit)"
45 select RCAR_64
46
Chris Brandt43b11d92017-08-23 14:53:59 -050047config RZA1
48 prompt "Renesas ARM SoCs RZ/A1 (32bit)"
49 select CPU_V7A
50
Ralph Siemsen7159e2c2023-05-12 21:36:55 -040051config RZN1
52 prompt "Renesas ARM SoCs RZ/N1 (32bit)"
53 select CPU_V7A
54 select ARMV7_SET_CORTEX_SMPEN if !SPL
55 select SPL_ARMV7_SET_CORTEX_SMPEN if SPL
56 select CLK
57 select CLK_RENESAS
58 select CLK_R9A06G032
59 select DM
60 select DM_ETH
61 select DM_SERIAL
62 select PINCTRL
63 select PINCONF
64 select REGMAP
65 select SYSRESET
66 select SYSRESET_SYSCON
67 imply CMD_DM
68
Nobuhiro Iwamatsu98e559c2015-03-05 08:30:37 +090069endchoice
70
Marek Vasut95f6e4b2023-02-28 07:28:55 +010071config SYS_SOC
72 default "rmobile" if ARCH_RMOBILE
73
Nobuhiro Iwamatsub2c0e492016-06-17 13:52:13 +090074source "arch/arm/mach-rmobile/Kconfig.32"
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +090075source "arch/arm/mach-rmobile/Kconfig.64"
Chris Brandt43b11d92017-08-23 14:53:59 -050076source "arch/arm/mach-rmobile/Kconfig.rza1"
Ralph Siemsen7159e2c2023-05-12 21:36:55 -040077source "arch/arm/mach-rmobile/Kconfig.rzn1"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +090078
79endif