arm: socfpga: Remove confusing timer related words from watchdog reset
Subsystems (3)
PATCH 1/1 arm: socfpga: Remove confusing timer related words from watchdog reset
From: Tien Fong Chee <[email protected]>
It's confusing to have timer related words along with watchdog reset dessert function, because the function is only release watchdog from reset, so it has no related to any timer setting.
Signed-off-by Tien Fong Chee <[email protected]>
Signed-off-by Teik Heng Chong <[email protected]>
--- arch/arm/mach-socfpga/include/mach/reset_manager_arria10.h | 2 +- arch/arm/mach-socfpga/reset_manager_arria10.c | 4 ++-- arch/arm/mach-socfpga/spl_a10.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/mach-socfpga/include/mach/reset_manager_arria10.h +1 -1
@@ -12,7 +12,7 @@void socfpga_watchdog_disable (void );void socfpga_reset_deassert_noc_ddr_scheduler (void );int socfpga_reset_deassert_bridges_handoff (void ); -void socfpga_reset_deassert_osc1wd0 (void ); +void socfpga_reset_deassert_wd0 (void );int socfpga_bridges_reset (void );#define RSTMGR_A10_STATUS 0x00
arch/arm/mach-socfpga/reset_manager_arria10.c +2 -2
@@ -109,8 +109,8 @@ int socfpga_reset_deassert_bridges_handoff(void) mask_noc, false, 1000, false); } -/* Release L4 OSC1 Watchdog Timer 0 from reset through reset manager */ -void socfpga_reset_deassert_osc1wd0 (void ) +/* Release Watchdog 0 from reset through reset manager */ +void socfpga_reset_deassert_wd0 (void ) {clrbits_le32 (socfpga_get_rstmgr_addr () +RSTMGR_A10_PER1MODRST ,ALT_RSTMGR_PER1MODRST_WD0_SET_MSK );
arch/arm/mach-socfpga/spl_a10.c +2 -2
@@ -263,8 +263,8 @@ void board_init_f(ulong dummy)cm_basic_init (gd->fdt_blob);#ifdef CONFIG_HW_WATCHDOG -/* release osc1 watchdog timer 0 from reset */ -socfpga_reset_deassert_osc1wd0 (); +/* release watchdog 0 from reset */ +socfpga_reset_deassert_wd0 ();/* reconfigure and enable the watchdog */ hw_watchdog_init ();
Signature · 1 line
2.25.1