summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2021-12-17 13:47:59 -0600
committerMarek Vasut <marek.vasut+renesas@gmail.com>2022-01-22 23:12:56 +0100
commit1a192f1622c8cdf74ab19011c6a5328b72cfc0b3 (patch)
tree70d0d006b54987e80ef3a4652712d8464798f70b /board
parente6786b0354372c8a68d01e4d633a19cdce373b70 (diff)
downloadu-boot-1a192f1622c8cdf74ab19011c6a5328b72cfc0b3.tar.gz
u-boot-1a192f1622c8cdf74ab19011c6a5328b72cfc0b3.tar.bz2
u-boot-1a192f1622c8cdf74ab19011c6a5328b72cfc0b3.zip
arm: rmobile: rzg2_beacon: Migrate reset to SYSRESET_PSCI
Instead of a custom cpu_reset function, use the sysreset_psci instead to reduce redundant code clutter. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/beacon/beacon-rzg2m/beacon-rzg2m.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
index df6044a429..4b41c6fdaa 100644
--- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c
+++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
@@ -6,7 +6,6 @@
#include <common.h>
#include <asm/global_data.h>
#include <asm/io.h>
-#include <asm/arch/rcar-mstp.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -18,15 +17,6 @@ int board_init(void)
return 0;
}
-#define RST_BASE 0xE6160000
-#define RST_CA57RESCNT (RST_BASE + 0x40)
-#define RST_CODE 0xA5A5000F
-
-void reset_cpu(void)
-{
- writel(RST_CODE, RST_CA57RESCNT);
-}
-
#if IS_ENABLED(CONFIG_MULTI_DTB_FIT)
int board_fit_config_name_match(const char *name)
{