[PATCH] timer: Add SPL_REGMAP dependency for Xilinx timer

Michal Simek monstr at monstr.eu
Mon Jun 27 09:04:14 CEST 2022


čt 23. 6. 2022 v 13:08 odesílatel Michal Simek <michal.simek at amd.com> napsal:
>
> 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 at windriver.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
>  drivers/timer/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
> index 44d1a81bad3d..61156371a666 100644
> --- a/drivers/timer/Kconfig
> +++ b/drivers/timer/Kconfig
> @@ -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).
> --
> 2.36.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list