]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: rzg2l: Support reset via Renesas RAA215300 PMIC
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 27 Feb 2024 20:40:35 +0000 (20:40 +0000)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 28 Feb 2024 17:42:27 +0000 (18:42 +0100)
With the SYSRESET subsystem enabled we do not need to implement
reset_cpu() in the board directory.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
board/renesas/rzg2l/rzg2l.c
configs/renesas_rzg2l_smarc_defconfig

index 73201a8c69e5f33ffb081e378831ea106754932d..0f6d6e7f514f65a51cdc553102b3f86dc24e12dc 100644 (file)
@@ -56,11 +56,3 @@ int board_init(void)
 {
        return 0;
 }
-
-void reset_cpu(void)
-{
-       /*
-        * TODO: Implement reset support once TrustedFirmware supports
-        * the appropriate call.
-        */
-}
index 2cab79329db40c65745851566d7df0cee70bd77d..21365a21fe8c50e518c9c03e3a004d0f0add5694 100644 (file)
@@ -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