MLK-18142 imx: timer: Modify GPT timer driver for mx7
authorYe Li <ye.li@nxp.com>
Fri, 23 Mar 2018 06:45:26 +0000 (23:45 -0700)
committerYe Li <ye.li@nxp.com>
Wed, 28 Apr 2021 20:49:33 +0000 (13:49 -0700)
Modify the GPT common platform driver for mx7 which only use 24Mhz
OSC as clock source.

Note: at default, the mx7d will use system counter as timer. The GPT
is disabled.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
(cherry picked from commit ff8902ab14705935a30f318db8d1c71ce3cc40dc)
(cherry picked from commit c3fa80efdb8680b4b35bc5b3607c148c3c48732b)
(cherry picked from commit 62625f0c8a2e90259488166ee8d8ddcf0ca4e9ae)

arch/arm/mach-imx/timer.c

index fcd45f0..990fa16 100644 (file)
@@ -3,7 +3,8 @@
  * (C) Copyright 2007
  * Sascha Hauer, Pengutronix
  *
- * (C) Copyright 2009 Freescale Semiconductor, Inc.
+ * (C) Copyright 2009-2016 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
  */
 
 #include <common.h>