ARM: rmobile: Update E2 Alt
Subsystems (2)
PATCH 1/1 ARM: rmobile: Update E2 Alt
The E2 Alt port was broken since some time. This patch updates the E2 Alt port to use modern frameworks, DM, DT probing, SPL for the preloading and puts it on par with the M2 Porter board.
Signed-off-by Marek Vasut <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
--- arch/arm/dts/r8a7794-alt-u-boot.dts | 4 + arch/arm/mach-rmobile/Kconfig.32 | 3 + board/renesas/alt/Makefile | 6 +- board/renesas/alt/alt.c | 209 ++++---------- board/renesas/alt/alt_spl.c | 411 ++++++++++++++++++++++++++++ configs/alt_defconfig | 49 +++- include/configs/alt.h | 71 ++--- 7 files changed, 547 insertions(+), 206 deletions(-) create mode 100644 board/renesas/alt/alt_spl.c
arch/arm/dts/r8a7794-alt-u-boot.dts +4 -0
@@ -8,3 +8,7 @@ #include "r8a7794-alt.dts" #include "r8a7794-u-boot.dtsi" + +&scif2 { + u-boot,dm-pre-reloc; +};
arch/arm/mach-rmobile/Kconfig.32 +3 -0
@@ -69,6 +69,9 @@ config TARGET_ALT bool "Alt board" select DM select DM_SERIAL + select SUPPORT_SPL + select USE_TINY_PRINTF + select SPL_TINY_MEMSET config TARGET_SILK bool "Silk board"
board/renesas/alt/Makefile +5 -1
@@ -6,4 +6,8 @@ # SPDX-License-Identifier: GPL-2.0 # -obj-y := alt.o qos.o ../rcar-common/common.o +ifdef CONFIG_SPL_BUILD +obj-y := alt_spl.o +else +obj-y := alt.o qos.o +endif
board/renesas/alt/alt.c +57 -152
255 lines not on this page · raw message
board/renesas/alt/alt_spl.c new file +411 -0
411 lines not on this page · raw message
configs/alt_defconfig +45 -4
84 lines not on this page · raw message
include/configs/alt.h +22 -49
86 lines not on this page · raw message
Signature · 1 line
2.17.0