mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
1c82c2f60a
This is needed for tegra124 also, so make it common and add a header file for tegra124. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
20 lines
501 B
Makefile
20 lines
501 B
Makefile
#
|
|
# (C) Copyright 2010,2011 Nvidia Corporation.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += cpu.o
|
|
else
|
|
obj-$(CONFIG_VIDEO_TEGRA) += display.o
|
|
endif
|
|
|
|
# The AVP is ARMv4T architecture so we must use special compiler
|
|
# flags for any startup files it might use.
|
|
CFLAGS_warmboot_avp.o += -march=armv4t
|
|
|
|
obj-y += clock.o funcmux.o pinmux.o
|
|
obj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o
|
|
obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
|
|
obj-$(CONFIG_TEGRA_PMU) += pmu.o
|