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>
#include <common.h>
#include <asm/global_data.h>
#include <asm/io.h>
-#include <asm/arch/rcar-mstp.h>
DECLARE_GLOBAL_DATA_PTR;
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)
{
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_RENESAS_RPC_SPI=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_PSCI=y
CONFIG_USB=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_EHCI_HCD=y