Skip to content

Commit

Permalink
board: silinux: Enable recovery SPL for EK874 board
Browse files Browse the repository at this point in the history
Enable building SPL for EK874 board which is based on R8A774C0 SoC.

Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Biju Das <[email protected]>
  • Loading branch information
prabhakarlad authored and Marek Vasut committed Mar 16, 2021
1 parent 07148c1 commit 9e34634
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-rmobile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cmd_objcopy = $(OBJCOPY) --gap-fill=0x00 $(OBJCOPYFLAGS) \
spl/u-boot-spl.srec: spl/u-boot-spl FORCE
$(call if_changed,objcopy)

ifneq ($(CONFIG_R8A77990)$(CONFIG_R8A77995),)
ifneq ($(CONFIG_R8A774C0)$(CONFIG_R8A77990)$(CONFIG_R8A77995),)
#
# The first 6 generate statements generate the R-Car Gen3 SCIF loader header.
# The subsequent generate statements represent the following chunk of assembler
Expand Down
4 changes: 4 additions & 0 deletions board/silinux/ek874/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifdef CONFIG_SPL_BUILD
obj-y := ../../renesas/rcar-common/gen3-spl.o
else
obj-y := ek874.o ../../renesas/rcar-common/common.o
endif
2 changes: 1 addition & 1 deletion configs/silinux_ek874_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ CONFIG_ARM=y
CONFIG_ARCH_CPU_INIT=y
CONFIG_ARCH_RMOBILE=y
CONFIG_SYS_TEXT_BASE=0x50000000
CONFIG_SPL_TEXT_BASE=0xe6318000
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_ENV_SIZE=0x10000
CONFIG_ENV_OFFSET=0x3F0000
CONFIG_ENV_SECT_SIZE=0x10000
CONFIG_RCAR_GEN3=y
CONFIG_TARGET_SILINUX_EK874=y
# CONFIG_BOARD_EARLY_INIT_F is not set
# CONFIG_SPL is not set
CONFIG_SOC_DEVICE=y
CONFIG_SOC_DEVICE_RENESAS=y
CONFIG_DEFAULT_DEVICE_TREE="r8a774c0-ek874-u-boot"
Expand Down

0 comments on commit 9e34634

Please sign in to comment.