Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2010,2011 Nvidia Corporation. |
| 3 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 5 | # |
| 6 | |
Masahiro Yamada | ed1632a | 2015-02-20 17:04:04 +0900 | [diff] [blame] | 7 | ifdef CONFIG_SPL_BUILD |
| 8 | obj-y += cpu.o |
| 9 | else |
Masahiro Yamada | ed1632a | 2015-02-20 17:04:04 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_VIDEO_TEGRA) += display.o |
| 11 | endif |
| 12 | |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 13 | # The AVP is ARMv4T architecture so we must use special compiler |
| 14 | # flags for any startup files it might use. |
Masahiro Yamada | c51672c | 2014-03-31 14:23:15 +0900 | [diff] [blame] | 15 | CFLAGS_warmboot_avp.o += -march=armv4t |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 16 | |
Masahiro Yamada | 5a0c0ba | 2013-10-17 17:34:52 +0900 | [diff] [blame] | 17 | obj-y += clock.o funcmux.o pinmux.o |
| 18 | obj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o |
| 19 | obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o |
| 20 | obj-$(CONFIG_TEGRA_PMU) += pmu.o |