Commit b925adfc authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

soc: renesas: Add ARCH_R8A7795[01] for existing R-Car H3

Despite using the same compatible values ("r8a7795"-based) because of
historical reasons, R-Car H3 ES1.x (R8A77950) and R-Car H3 ES2.0+
(R8A77951) are really different SoCs, with different part numbers.

Reflect this in the SoC configuration, by adding CONFIG_ARCH_R8A77950
and CONFIG_ARCH_R8A77951 as new config symbols.  These are intended to
replace CONFIG_ARCH_R8A7795, and will allow making support for early SoC
revisions optional.

Note that for now, CONFIG_ARCH_R8A7795 is retained, and just selects
CONFIG_ARCH_R8A77950 and CONFIG_ARCH_R8A77951.  This relaxes
dependencies of other subsystems on the SoC configuration symbol, and
provides a smooth transition path for config files through "make
oldconfig".
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20191217183841.432-6-geert+renesas@glider.be
parent 0764f2d0
...@@ -192,8 +192,16 @@ config ARCH_R8A774C0 ...@@ -192,8 +192,16 @@ config ARCH_R8A774C0
help help
This enables support for the Renesas RZ/G2E SoC. This enables support for the Renesas RZ/G2E SoC.
config ARCH_R8A77950
bool
config ARCH_R8A77951
bool
config ARCH_R8A7795 config ARCH_R8A7795
bool "Renesas R-Car H3 SoC Platform" bool "Renesas R-Car H3 SoC Platform"
select ARCH_R8A77950
select ARCH_R8A77951
select ARCH_RCAR_GEN3 select ARCH_RCAR_GEN3
select SYSC_R8A7795 select SYSC_R8A7795
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment