]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
timer: Add SPL_REGMAP dependency for Xilinx timer
authorMichal Simek <michal.simek@amd.com>
Thu, 23 Jun 2022 11:08:30 +0000 (13:08 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 27 Jun 2022 07:03:54 +0000 (09:03 +0200)
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
drivers/timer/Kconfig

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