timer: Add SPL_REGMAP dependency for Xilinx timer

Add SPL_REGMAP dependency when SPL is enabled. This can avoid compilation
issues if timer is selected but SPL_REGMAP not.

Reported-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/8f6c187e04cb3127bf5148ae2dbbdf55b25ea544.1655982509.git.michal.simek@amd.com
This commit is contained in:
Michal Simek 2022-06-23 13:08:30 +02:00
parent b5b8bad2db
commit 728a86edb6

View file

@ -276,6 +276,7 @@ config XILINX_TIMER
bool "Xilinx timer support" bool "Xilinx timer support"
depends on TIMER depends on TIMER
select REGMAP select REGMAP
select SPL_REGMAP if SPL
help help
Select this to enable support for the timer found on Select this to enable support for the timer found on
any Xilinx boards (axi timer). any Xilinx boards (axi timer).