mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
![Thierry Reding](/assets/img/avatar_default.png)
Tegra186 build are currently dealt with in very special ways, which is because Tegra186 is fundamentally different in many respects. It is no longer necessary to do many of the low-level programming because early boot firmware will already have taken care of it. Unfortunately, separating Tegra186 builds from the rest in this way makes it difficult to share code with prior generations of Tegra. With all of the low-level programming code behind Kconfig guards, the build for Tegra186 can again be unified. As a side-effect, and partial reason for this change, other Tegra SoC generations can now make use of the code that deals with taking over a boot from earlier bootloaders. This used to be nvtboot, but has been replaced by cboot nowadays. Rename the files and functions related to this to avoid confusion. The implemented protocols are unchanged. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2010-2019 Nvidia Corporation.
|
|
#
|
|
# (C) Copyright 2000-2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
obj-y += cpu.o
|
|
else
|
|
obj-$(CONFIG_CMD_ENTERRCM) += cmd_enterrcm.o
|
|
endif
|
|
|
|
obj-$(CONFIG_TEGRA_GP_PADCTRL) += ap.o
|
|
obj-y += board.o board2.o
|
|
obj-y += cache.o
|
|
obj-$(CONFIG_TEGRA_CLKRST) += clock.o
|
|
obj-$(CONFIG_TEGRA_PINCTRL) += pinmux-common.o
|
|
obj-$(CONFIG_TEGRA_PMC) += powergate.o
|
|
obj-y += xusb-padctl-dummy.o
|
|
|
|
obj-$(CONFIG_ARM64) += arm64-mmu.o cboot_ll.o cboot.o
|
|
obj-y += dt-setup.o
|
|
obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
|
|
obj-$(CONFIG_TEGRA_GPU) += gpu.o
|
|
obj-$(CONFIG_TEGRA_IVC) += ivc.o
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o
|
|
endif
|
|
obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
|
|
obj-y += pmc.o
|
|
|
|
obj-$(CONFIG_TEGRA20) += tegra20/
|
|
obj-$(CONFIG_TEGRA30) += tegra30/
|
|
obj-$(CONFIG_TEGRA114) += tegra114/
|
|
obj-$(CONFIG_TEGRA124) += tegra124/
|
|
obj-$(CONFIG_TEGRA186) += tegra186/
|
|
obj-$(CONFIG_TEGRA210) += tegra210/
|