From: Paul Barker Date: Tue, 27 Feb 2024 20:40:35 +0000 (+0000) Subject: board: rzg2l: Support reset via Renesas RAA215300 PMIC X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=3787ee1d2d782cabe604a79c95785276ccd03177;p=u-boot.git board: rzg2l: Support reset via Renesas RAA215300 PMIC With the SYSRESET subsystem enabled we do not need to implement reset_cpu() in the board directory. Signed-off-by: Paul Barker Reviewed-by: Marek Vasut --- diff --git a/board/renesas/rzg2l/rzg2l.c b/board/renesas/rzg2l/rzg2l.c index 73201a8c69..0f6d6e7f51 100644 --- a/board/renesas/rzg2l/rzg2l.c +++ b/board/renesas/rzg2l/rzg2l.c @@ -56,11 +56,3 @@ int board_init(void) { return 0; } - -void reset_cpu(void) -{ - /* - * TODO: Implement reset support once TrustedFirmware supports - * the appropriate call. - */ -} diff --git a/configs/renesas_rzg2l_smarc_defconfig b/configs/renesas_rzg2l_smarc_defconfig index 2cab79329d..21365a21fe 100644 --- a/configs/renesas_rzg2l_smarc_defconfig +++ b/configs/renesas_rzg2l_smarc_defconfig @@ -55,3 +55,5 @@ CONFIG_PMIC_RAA215300=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_RAA215300=y