mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Currently, uniphier_get_soc_type() converts the SoC ID (this is read from the revision register) to an enum symbol to use it for SoC identification. Come to think of it, there is no need for the conversion in the first place. Using the SoC ID from the register as-is a straightforward way. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
34 lines
580 B
Makefile
34 lines
580 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
obj-y += spl_board_init.o
|
|
obj-y += memconf.o
|
|
obj-y += bcu/
|
|
|
|
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
|
|
obj-y += reset.o
|
|
|
|
obj-$(CONFIG_MICRO_SUPPORT_CARD) += sbc/ micro-support-card.o
|
|
obj-y += pinctrl-glue.o
|
|
|
|
endif
|
|
|
|
obj-y += boards.o
|
|
obj-y += soc-info.o
|
|
obj-y += boot-mode/
|
|
obj-y += clk/
|
|
obj-y += dram/
|
|
|
|
obj-$(CONFIG_DEBUG_UART_UNIPHIER) += debug-uart/
|
|
|
|
obj-$(CONFIG_CPU_V7) += arm32/
|
|
obj-$(CONFIG_ARM64) += arm64/
|