]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/ls2085a/ls2085a.c
armv8/ls2085a: Fix generic timer clock source
[people/ms/u-boot.git] / board / freescale / ls2085a / ls2085a.c
index e78c63ada0eb8b6681fca43acb9b86a9c766531d..bd016e90b131f7be2b26713ae6c3a625c2e9c6e8 100644 (file)
@@ -55,24 +55,6 @@ int dram_init(void)
        return 0;
 }
 
-int timer_init(void)
-{
-       u32 __iomem *cntcr = (u32 *)CONFIG_SYS_FSL_TIMER_ADDR;
-       u32 __iomem *cltbenr = (u32 *)CONFIG_SYS_FSL_PMU_CLTBENR;
-
-       /* Enable timebase for all clusters.
-        * It is safe to do so even some clusters are not enabled.
-        */
-       out_le32(cltbenr, 0xf);
-
-       /* Enable clock for timer
-        * This is a global setting.
-        */
-       out_le32(cntcr, 0x1);
-
-       return 0;
-}
-
 /*
  * Board specific reset that is system reset.
  */