mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
e9e5d9d29f
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@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
33 lines
814 B
Makefile
33 lines
814 B
Makefile
#
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
extra-y := start.o
|
|
|
|
obj-y += cpu.o
|
|
ifndef CONFIG_$(SPL_TPL_)TIMER
|
|
obj-y += generic_timer.o
|
|
endif
|
|
obj-y += cache_v8.o
|
|
obj-y += exceptions.o
|
|
obj-y += cache.o
|
|
obj-y += tlb.o
|
|
obj-y += transition.o
|
|
obj-y += fwcall.o
|
|
obj-y += cpu-dt.o
|
|
obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_ARMV8_SPIN_TABLE) += spin_table.o spin_table_v8.o
|
|
endif
|
|
obj-$(CONFIG_$(SPL_)ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_asm.o
|
|
|
|
obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/
|
|
obj-$(CONFIG_S32V234) += s32v234/
|
|
obj-$(CONFIG_ARCH_ZYNQMP) += zynqmp/
|
|
obj-$(CONFIG_TARGET_HIKEY) += hisilicon/
|
|
obj-$(CONFIG_ARMV8_PSCI) += psci.o
|
|
obj-$(CONFIG_ARCH_SUNXI) += lowlevel_init.o
|