Skip to content
Snippets Groups Projects
Commit 23b6a131 authored by Stefan Agner's avatar Stefan Agner Committed by Stefano Babic
Browse files

imx: introduce CONFIG_GPT_TIMER


Introduce a new config symbol to select the i.MX
General Purpose Timer (GPT).

Signed-off-by: default avatarStefan Agner <stefan.agner@toradex.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
parent 616aa55d
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ config ROM_UNIFIED_SECTIONS ...@@ -10,6 +10,9 @@ config ROM_UNIFIED_SECTIONS
config SYSCOUNTER_TIMER config SYSCOUNTER_TIMER
bool bool
config GPT_TIMER
bool
config IMX_RDC config IMX_RDC
bool "i.MX Resource domain controller driver" bool "i.MX Resource domain controller driver"
depends on ARCH_MX6 || ARCH_MX7 depends on ARCH_MX6 || ARCH_MX7
......
...@@ -11,7 +11,8 @@ ifeq ($(SOC),$(filter $(SOC),mx25 mx35 mx5 mx6 mx7 vf610)) ...@@ -11,7 +11,8 @@ ifeq ($(SOC),$(filter $(SOC),mx25 mx35 mx5 mx6 mx7 vf610))
obj-y = iomux-v3.o obj-y = iomux-v3.o
endif endif
ifeq ($(SOC),$(filter $(SOC),mx5 mx6)) ifeq ($(SOC),$(filter $(SOC),mx5 mx6))
obj-y += timer.o cpu.o speed.o obj-y += cpu.o speed.o
obj-$(CONFIG_GPT_TIMER) += timer.o
obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o
endif endif
ifeq ($(SOC),$(filter $(SOC),mx7 mx6 mxs)) ifeq ($(SOC),$(filter $(SOC),mx7 mx6 mxs))
......
if ARCH_MX5 if ARCH_MX5
config MX5 config MX5
select GPT_TIMER
bool bool
default y default y
......
...@@ -9,6 +9,7 @@ config MX6_SMP ...@@ -9,6 +9,7 @@ config MX6_SMP
config MX6 config MX6
select ARM_ERRATA_743622 if !MX6UL && !MX6ULL select ARM_ERRATA_743622 if !MX6UL && !MX6ULL
select GPT_TIMER
bool bool
default y default y
imply CMD_FUSE imply CMD_FUSE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment