Nobuhiro Iwamatsu | 7c11273 | 2015-10-10 05:58:28 +0900 | [diff] [blame] | 1 | if ARCH_RMOBILE |
Masahiro Yamada | c9c54e2 | 2014-08-31 07:10:57 +0900 | [diff] [blame] | 2 | |
Marek Vasut | 1406bdc | 2023-02-28 07:28:56 +0100 | [diff] [blame] | 3 | # Renesas ARM SoCs R-Car Gen3/Gen4 (64bit) |
| 4 | config RCAR_64 |
| 5 | bool |
Nobuhiro Iwamatsu | 4dc515a | 2016-04-01 03:51:34 +0900 | [diff] [blame] | 6 | select ARM64 |
Hiroyuki Yokoyama | 7b8f69c | 2018-09-26 14:32:13 +0900 | [diff] [blame] | 7 | select CMD_CACHE |
Marek Vasut | ce52852 | 2021-04-03 16:58:49 +0200 | [diff] [blame] | 8 | select OF_BOARD_SETUP |
Marek Vasut | fbae595 | 2023-02-28 07:28:54 +0100 | [diff] [blame] | 9 | select PHY |
Marek Vasut | 04a9c56 | 2019-04-21 22:14:11 +0200 | [diff] [blame] | 10 | select PINCONF |
Marek Vasut | fbae595 | 2023-02-28 07:28:54 +0100 | [diff] [blame] | 11 | select PINCTRL |
Marek Vasut | 04a9c56 | 2019-04-21 22:14:11 +0200 | [diff] [blame] | 12 | select PINCTRL_PFC |
Marek Vasut | 253a949 | 2021-06-13 22:40:45 +0200 | [diff] [blame] | 13 | select POSITION_INDEPENDENT |
Marek Vasut | d5ccf46 | 2018-12-03 23:46:11 +0100 | [diff] [blame] | 14 | imply CMD_FS_UUID |
| 15 | imply CMD_GPT |
Marek Vasut | d5ccf46 | 2018-12-03 23:46:11 +0100 | [diff] [blame] | 16 | imply CMD_MMC_SWRITE if MMC |
Marek Vasut | fbae595 | 2023-02-28 07:28:54 +0100 | [diff] [blame] | 17 | imply CMD_UUID |
Marek Vasut | 1406bdc | 2023-02-28 07:28:56 +0100 | [diff] [blame] | 18 | imply SUPPORT_EMMC_RPMB if MMC |
| 19 | |
| 20 | choice |
| 21 | prompt "Target Renesas SoC select" |
| 22 | default RCAR_32 |
| 23 | |
| 24 | config RCAR_32 |
| 25 | bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)" |
| 26 | select CPU_V7A |
| 27 | |
| 28 | config RCAR_GEN3 |
| 29 | bool "Renesas ARM SoCs R-Car Gen3 (64bit)" |
| 30 | select RCAR_64 |
| 31 | select SUPPORT_SPL |
Marek Vasut | e39fa7d | 2018-10-03 12:44:13 +0200 | [diff] [blame] | 32 | imply SPL |
| 33 | imply SPL_BOARD_INIT |
| 34 | imply SPL_GZIP |
| 35 | imply SPL_LIBCOMMON_SUPPORT |
| 36 | imply SPL_LIBGENERIC_SUPPORT |
Simon Glass | f4d6039 | 2021-08-08 12:20:12 -0600 | [diff] [blame] | 37 | imply SPL_SERIAL |
Marek Vasut | e39fa7d | 2018-10-03 12:44:13 +0200 | [diff] [blame] | 38 | imply SPL_SYS_MALLOC_SIMPLE |
| 39 | imply SPL_TINY_MEMSET |
Simon Glass | 7611ac6 | 2019-09-25 08:56:27 -0600 | [diff] [blame] | 40 | imply SPL_USE_TINY_PRINTF |
Marek Vasut | fbae595 | 2023-02-28 07:28:54 +0100 | [diff] [blame] | 41 | imply SPL_YMODEM_SUPPORT |
Nobuhiro Iwamatsu | 4dc515a | 2016-04-01 03:51:34 +0900 | [diff] [blame] | 42 | |
Hai Pham | 9046b5f | 2023-02-28 22:22:03 +0100 | [diff] [blame] | 43 | config RCAR_GEN4 |
| 44 | bool "Renesas ARM SoCs R-Car Gen4 (64bit)" |
| 45 | select RCAR_64 |
| 46 | |
Chris Brandt | 43b11d9 | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 47 | config RZA1 |
| 48 | prompt "Renesas ARM SoCs RZ/A1 (32bit)" |
| 49 | select CPU_V7A |
| 50 | |
Ralph Siemsen | 7159e2c | 2023-05-12 21:36:55 -0400 | [diff] [blame] | 51 | config 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 Iwamatsu | 98e559c | 2015-03-05 08:30:37 +0900 | [diff] [blame] | 69 | endchoice |
| 70 | |
Marek Vasut | 95f6e4b | 2023-02-28 07:28:55 +0100 | [diff] [blame] | 71 | config SYS_SOC |
| 72 | default "rmobile" if ARCH_RMOBILE |
| 73 | |
Nobuhiro Iwamatsu | b2c0e49 | 2016-06-17 13:52:13 +0900 | [diff] [blame] | 74 | source "arch/arm/mach-rmobile/Kconfig.32" |
Nobuhiro Iwamatsu | 4dc515a | 2016-04-01 03:51:34 +0900 | [diff] [blame] | 75 | source "arch/arm/mach-rmobile/Kconfig.64" |
Chris Brandt | 43b11d9 | 2017-08-23 14:53:59 -0500 | [diff] [blame] | 76 | source "arch/arm/mach-rmobile/Kconfig.rza1" |
Ralph Siemsen | 7159e2c | 2023-05-12 21:36:55 -0400 | [diff] [blame] | 77 | source "arch/arm/mach-rmobile/Kconfig.rzn1" |
Masahiro Yamada | c9c54e2 | 2014-08-31 07:10:57 +0900 | [diff] [blame] | 78 | |
| 79 | endif |