blob: 7a0b25ad51a5464d6b400705ddc60aff55bad3ff [file] [log] [blame]
Masahiro Yamada5894ca02014-10-03 19:21:06 +09001#
2# SPDX-License-Identifier: GPL-2.0+
3#
4
Masahiro Yamada6c45ef42015-02-05 14:42:58 +09005ifdef CONFIG_SPL_BUILD
Masahiro Yamada5894ca02014-10-03 19:21:06 +09006
Masahiro Yamada9c572682017-01-28 06:53:48 +09007obj-y += boards.o
Masahiro Yamadaa8e63002017-01-15 14:59:09 +09008obj-y += spl_board_init.o
Masahiro Yamada8d6c99c2017-01-15 14:59:04 +09009obj-y += memconf.o
Masahiro Yamadaa8e63002017-01-15 14:59:09 +090010obj-y += bcu/
Masahiro Yamada81c847b2017-02-14 01:24:25 +090011obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc-boot-mode.o
Masahiro Yamada6c45ef42015-02-05 14:42:58 +090012
13else
14
Masahiro Yamadae27d6c72017-01-21 18:05:26 +090015obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o
Masahiro Yamada6c45ef42015-02-05 14:42:58 +090016obj-y += dram_init.o
Masahiro Yamadab2916712016-09-14 01:06:08 +090017obj-y += board_init.o
Masahiro Yamada5894ca02014-10-03 19:21:06 +090018obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o
Masahiro Yamadafed9c762017-04-20 16:54:42 +090019ifndef CONFIG_SYSRESET
Masahiro Yamada6c45ef42015-02-05 14:42:58 +090020obj-y += reset.o
Masahiro Yamadafed9c762017-04-20 16:54:42 +090021endif
Masahiro Yamada5894ca02014-10-03 19:21:06 +090022
Masahiro Yamada26b09c02017-01-15 14:59:10 +090023obj-$(CONFIG_MICRO_SUPPORT_CARD) += sbc/ micro-support-card.o
24obj-y += pinctrl-glue.o
Masahiro Yamadae5957e82017-02-14 01:24:24 +090025obj-$(CONFIG_MMC) += mmc-first-dev.o
Masahiro Yamada26b09c02017-01-15 14:59:10 +090026
Masahiro Yamada6c45ef42015-02-05 14:42:58 +090027endif
28
Masahiro Yamadae27d6c72017-01-21 18:05:26 +090029obj-y += soc-info.o
Masahiro Yamada784548e2017-02-14 01:24:26 +090030obj-y += boot-device/
Masahiro Yamadafcc238b2016-09-17 03:33:10 +090031obj-y += clk/
Masahiro Yamada126f9ba2016-02-05 13:20:31 +090032obj-y += dram/
Masahiro Yamada6c45ef42015-02-05 14:42:58 +090033
Masahiro Yamadad5cf3292016-03-18 16:41:52 +090034obj-$(CONFIG_DEBUG_UART_UNIPHIER) += debug-uart/
Masahiro Yamadafe5ea572016-02-26 18:59:44 +090035
36obj-$(CONFIG_CPU_V7) += arm32/
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090037obj-$(CONFIG_ARM64) += arm64/