mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
9889862545
Currently, ft_system_setup() is implemented by board*.c, which are a bit of a dumping ground for a bunch of unrelated functionality, and separate versions exist for pre-Tegra186 and Tegra186. Move the implementation into a separate file to separate functionality, and allow sharing. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
43 lines
973 B
Makefile
43 lines
973 B
Makefile
#
|
|
# (C) Copyright 2010-2015 Nvidia Corporation.
|
|
#
|
|
# (C) Copyright 2000-2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifndef CONFIG_TEGRA186
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
obj-y += cpu.o
|
|
else
|
|
obj-$(CONFIG_CMD_ENTERRCM) += cmd_enterrcm.o
|
|
endif
|
|
|
|
obj-y += ap.o
|
|
obj-y += board.o board2.o
|
|
obj-y += cache.o
|
|
obj-y += clock.o
|
|
obj-y += pinmux-common.o
|
|
obj-y += powergate.o
|
|
obj-y += xusb-padctl-dummy.o
|
|
endif
|
|
|
|
obj-$(CONFIG_ARM64) += arm64-mmu.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
|
|
obj-y += lowlevel_init.o
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o
|
|
endif
|
|
obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.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/
|