mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
The current implementation has ugly switch statements here and there, and duplicates similar code. Rework it using table lookups for SoC data and reduce code duplication. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
20 lines
641 B
Makefile
20 lines
641 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += boot-device.o
|
|
|
|
obj-$(CONFIG_ARCH_UNIPHIER_SLD3) += boot-device-sld3.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_LD4) += boot-device-ld4.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += boot-device-ld4.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += boot-device-ld4.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += boot-device-pro5.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += boot-device-pxs2.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += boot-device-pxs2.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_LD11) += boot-device-ld11.o
|
|
obj-$(CONFIG_ARCH_UNIPHIER_LD20) += boot-device-ld11.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_BOARD_LOAD_IMAGE) += spl_board.o
|
|
endif
|