mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-02 17:40:41 +09:00
f7f390576d
If CONFIG_MICRO_SUPPORT_CARD is enabled, U-Boot initialize SBC (System Bus Controller), which may not be really necessary. Check the "socionext,uniphier-system-bus" node in DT run-time. If and only if it is found and its "status" property is okay, initialize the SBC block. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
38 lines
724 B
Makefile
38 lines
724 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
obj-y += boards.o
|
|
obj-y += spl_board_init.o
|
|
obj-y += memconf.o
|
|
obj-y += bcu/
|
|
obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc-boot-mode.o
|
|
|
|
else
|
|
|
|
obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o
|
|
obj-y += dram_init.o
|
|
obj-y += board_init.o
|
|
obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o
|
|
ifndef CONFIG_SYSRESET
|
|
obj-y += reset.o
|
|
endif
|
|
|
|
obj-$(CONFIG_MICRO_SUPPORT_CARD) += micro-support-card.o
|
|
obj-y += pinctrl-glue.o
|
|
obj-$(CONFIG_MMC) += mmc-first-dev.o
|
|
obj-y += fdt-fixup.o
|
|
|
|
endif
|
|
|
|
obj-y += sbc/
|
|
obj-y += soc-info.o
|
|
obj-y += boot-device/
|
|
obj-y += clk/
|
|
obj-y += dram/
|
|
|
|
obj-$(CONFIG_DEBUG_UART_UNIPHIER) += debug-uart/
|
|
|
|
obj-$(CONFIG_CPU_V7A) += arm32/
|
|
obj-$(CONFIG_ARM64) += arm64/
|