All R-Car Gen4 board files are copies of one another at this point. Deduplicate them into single board/renesas/rcar-common/gen4-common.c and remove all the duplicates. The one exception is R-Car V3U Falcon board, which enables RWDT reset in board_init(), conditionally build RWDT enablement in board_init() in the new common code for V3U. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
14 lines
255 B
Makefile
14 lines
255 B
Makefile
#
|
|
# board/renesas/falcon/Makefile
|
|
#
|
|
# Copyright (C) 2020 Renesas Electronics Corp.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_XPL_BUILD
|
|
obj-y := ../rcar-common/gen3-spl.o
|
|
else
|
|
obj-y := ../rcar-common/gen4-common.o ../rcar-common/common.o
|
|
endif
|