]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: rmobile: Deduplicate R-Car Gen3/Gen4 reset_cpu()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 31 May 2023 18:10:28 +0000 (20:10 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 8 Jun 2023 20:26:51 +0000 (22:26 +0200)
commitee65a5d7de1d1d3386c0671ef54021a267091f7a
tree787ba8536fbe13bdb3b227a41c10e9ed7db450f3
parent9fc637ce70876ef9404227e4b096f96c06441242
ARM: rmobile: Deduplicate R-Car Gen3/Gen4 reset_cpu()

The reset_cpu() implementation is basically the same across Gen3
SoCs and identical across Gen4 SoCs. Introduce weak default for
reset_cpu(), so that it does not have to be duplicated in every
board file again.

There is a slight difference for CA53 only systems, like E3 and D3,
which now check MIDR for CPU ID first just like the other systems,
but this is OK since the MIDR always returns CA53 core type and the
correct reset register is written.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
board/renesas/condor/condor.c
board/renesas/draak/draak.c
board/renesas/eagle/eagle.c
board/renesas/ebisu/ebisu.c
board/renesas/falcon/falcon.c
board/renesas/rcar-common/common.c
board/renesas/salvator-x/salvator-x.c
board/renesas/spider/spider.c
board/renesas/whitehawk/whitehawk.c