mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
7a3620b246
Some UniPhier boards are equipped with an expansion slot that
some optional SRAM/NOR-flash cards can be attached to. So, run-time
detection of the number of flash banks would be more user-friendly.
Until this commit, UniPhier boards have achieved this by (ab)using
board_flash_wp_on() because the boot failed if flash_size got zero.
Fortunately, this problem was solved by commit 70879a9256
(flash:
do not fail even if flash_size is zero).
Now it is possible to throw away such a tricky workaround. This
commit also enables CONFIG_SYS_MAX_FLASH_BANKS_DETECT for further
refactoring.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
25 lines
760 B
Makefile
25 lines
760 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_SPL_BUILD) += lowlevel_init.o init_page_table.o
|
|
obj-$(CONFIG_SPL_BUILD) += spl.o
|
|
|
|
obj-y += timer.o
|
|
obj-y += reset.o
|
|
obj-y += cache_uniphier.o
|
|
obj-$(CONFIG_BOARD_POSTCLK_INIT) += board_postclk_init.o
|
|
obj-y += dram_init.o
|
|
obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
|
|
obj-$(CONFIG_BOARD_EARLY_INIT_R) += board_early_init_r.o
|
|
obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o
|
|
obj-$(CONFIG_UNIPHIER_SMP) += smp.o
|
|
obj-$(CONFIG_CMD_PINMON) += cmd_pinmon.o
|
|
|
|
obj-y += board_common.o
|
|
obj-$(CONFIG_PFC_MICRO_SUPPORT_CARD) += support_card.o
|
|
obj-$(CONFIG_DCC_MICRO_SUPPORT_CARD) += support_card.o
|
|
|
|
obj-$(CONFIG_MACH_PH1_LD4) += ph1-ld4/
|
|
obj-$(CONFIG_MACH_PH1_PRO4) += ph1-pro4/
|
|
obj-$(CONFIG_MACH_PH1_SLD8) += ph1-sld8/
|