mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 14:53:06 +00:00
784548efb2
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>
19 lines
641 B
Makefile
19 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
|