[U-Boot] [RFC PATCH 2/6] dm: timer: normalise SPL and TPL support

Simon Glass sjg at chromium.org
Tue Aug 1 09:48:06 UTC 2017


On 28 July 2017 at 10:31, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> To fully support DM timer in SPL and TPL, we need a few things cleaned
> up and normalised:
> - inclusion of the uclass and drivers should be an all-or-nothing
>   decision for each stage and under control of $(SPL_TPL_)TIMER
>   instead of having the two-level configuration with TIMER and
>   $(SPL_TPL_)TIMER_SUPPORT
> - when $(SPL_TPL_)TIMER is enabled, the ARMv8 generic timer code can
>   not be compiled in
>
> This normalises configuration to $(SPL_TPL_)TIMER and moves the config
> options to drivers/timer/Kconfig (and cleans up the collateral damage
> to some defconfigs that had SPL_TIMER_SUPPORT enabled).
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>
>  arch/arm/cpu/armv8/Makefile         |  2 ++
>  common/spl/Kconfig                  |  8 --------
>  configs/chromebook_link64_defconfig |  2 +-
>  configs/qemu-x86_64_defconfig       |  2 +-
>  drivers/Makefile                    |  3 +--
>  drivers/timer/Kconfig               | 18 ++++++++++++++++++
>  drivers/timer/Makefile              |  2 +-
>  7 files changed, 24 insertions(+), 13 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list