diff mbox series

[6/8] ppc/ppc405: Fix timer initialization

Message ID 20211222064025.1541490-7-clg@kaod.org
State Superseded
Headers show
Series ppc/ppc405: Fixes | expand

Commit Message

Cédric Le Goater Dec. 22, 2021, 6:40 a.m. UTC
Timers are already initialized in ppc4xx_init(). No need to do it a
second time with a wrong set.

Fixes: d715ea961254 ("PPC: 405: Fix ppc405ep initialization")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 hw/ppc/ppc405_uc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Richard Henderson Dec. 23, 2021, 9:43 p.m. UTC | #1
On 12/21/21 10:40 PM, Cédric Le Goater wrote:
> Timers are already initialized in ppc4xx_init(). No need to do it a
> second time with a wrong set.
> 
> Fixes: d715ea961254 ("PPC: 405: Fix ppc405ep initialization")
> Signed-off-by: Cédric Le Goater<clg@kaod.org>
> ---
>   hw/ppc/ppc405_uc.c | 2 --
>   1 file changed, 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
diff mbox series

Patch

diff --git a/hw/ppc/ppc405_uc.c b/hw/ppc/ppc405_uc.c
index ec97b22bd019..8aacd275a652 100644
--- a/hw/ppc/ppc405_uc.c
+++ b/hw/ppc/ppc405_uc.c
@@ -1461,8 +1461,6 @@  PowerPCCPU *ppc405ep_init(MemoryRegion *address_space_mem,
     ppc4xx_pob_init(env);
     /* OBP arbitrer */
     ppc4xx_opba_init(0xef600600);
-    /* Initialize timers */
-    ppc_booke_timers_init(cpu, sysclk, 0);
     /* Universal interrupt controller */
     uicdev = qdev_new(TYPE_PPC_UIC);
     uicsbd = SYS_BUS_DEVICE(uicdev);