From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:30 +0200 Subject: [U-Boot] [U-Boot, v2, 2/6] dm: timer: normalise SPL and TPL support In-Reply-To: <1501706406-10284-3-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706406-10284-3-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Reviewed-by: Simon Glass > --- > > Changes in v2: None > > 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(-) > Applied to u-boot-rockchip, thanks!