summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2022-06-24 14:16:32 +0200
committerMichal Simek <michal.simek@amd.com>2022-06-24 14:16:32 +0200
commita36d86720f23a6dd503073a82905002b88c8e363 (patch)
tree9b6eeeeb3b352149ef31963ba044845703c46f39 /arch/Kconfig
parent816226d27efa22d89821dfd0796f763a24c33944 (diff)
microblaze: Convert axi timer to DM driver
Move axi timer driver from Microblaze to generic location. Origin implementation was irq based with counting down timer. CONFIG_TIMER drivers are designed differently that timer is free running up timer with automatic reload without any interrupt. Information about clock rates are find out in timer_pre_probe() that's why there is no need to get any additional information from DT in the driver itself (only register offset). Signed-off-by: Michal Simek <michal.simek@amd.com> Tested-by: Ovidiu Panait <ovidiu.panait@windriver.com> Link: https://lore.kernel.org/r/6c12fc86bbc1f17d05c25018862e7b7b03346b36.1654684731.git.michal.simek@amd.com
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index d91475d2474..3d02d8e71af 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -75,6 +75,11 @@ config MICROBLAZE
bool "MicroBlaze architecture"
select SUPPORT_OF_CONTROL
imply CMD_IRQ
+ imply CMD_TIMER
+ imply SPL_REGMAP if SPL
+ imply SPL_TIMER if SPL
+ imply TIMER
+ imply XILINX_TIMER
config MIPS
bool "MIPS architecture"