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