Skip to content

Commit

Permalink
imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Agner <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
  • Loading branch information
Stefan Agner authored and sbabic committed Jan 8, 2018
1 parent 290e7cf commit 616aa55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ config IMX_CONFIG
config ROM_UNIFIED_SECTIONS
bool

config SYSCOUNTER_TIMER
bool

config IMX_RDC
bool "i.MX Resource domain controller driver"
depends on ARCH_MX6 || ARCH_MX7
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-imx/mx7/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ if ARCH_MX7
config MX7
bool
select ROM_UNIFIED_SECTIONS
select SYSCOUNTER_TIMER
select CPU_V7_HAS_VIRT
select CPU_V7_HAS_NONSEC
select ARCH_SUPPORT_PSCI
Expand Down
1 change: 0 additions & 1 deletion include/configs/mx7_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

/* Timer settings */
#define CONFIG_MXC_GPT_HCLK
#define CONFIG_SYSCOUNTER_TIMER
#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
#define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK
#define CONFIG_SYS_FSL_CLK
Expand Down
1 change: 0 additions & 1 deletion scripts/config_whitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,6 @@ CONFIG_SUPPORT_RAW_INITRD
CONFIG_SUPPORT_VFAT
CONFIG_SUVD3
CONFIG_SXNI855T
CONFIG_SYSCOUNTER_TIMER
CONFIG_SYSFLAGS_ADDR
CONFIG_SYSFS
CONFIG_SYSMGR_ISWGRP_HANDOFF
Expand Down

0 comments on commit 616aa55

Please sign in to comment.