From 5be85de6a8a049d77f2433f8e100f2529a956f61 Mon Sep 17 00:00:00 2001 From: Biju Das Date: Mon, 1 Mar 2021 17:08:49 +0000 Subject: arm: rmobile: Add HopeRun HiHope RZ/G2H board support The HiHope RZ/G2H board from HopeRun consists of main board (HopeRun HiHope RZ/G2H main board) and sub board(HopeRun HiHope RZ/G2H sub board). The HiHope RZ/G2H sub board sits below the HiHope RZ/G2H main board. This patch adds the required board support to boot HopeRun HiHope RZ/G2H board. Signed-off-by: Biju Das Reviewed-by: Lad Prabhakar --- board/hoperun/hihope-rzg2/hihope-rzg2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/hoperun') diff --git a/board/hoperun/hihope-rzg2/hihope-rzg2.c b/board/hoperun/hihope-rzg2/hihope-rzg2.c index 2a61268c69..c1bfdcbc1d 100644 --- a/board/hoperun/hihope-rzg2/hihope-rzg2.c +++ b/board/hoperun/hihope-rzg2/hihope-rzg2.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* * board/hoperun/hihope-rzg2/hihope-rzg2.c - * This file is HiHope RZ/G2[MN] board support. + * This file is HiHope RZ/G2[HMN] board support. * * Copyright (C) 2021 Renesas Electronics Corporation */ @@ -104,6 +104,10 @@ int board_fit_config_name_match(const char *name) !strcmp(name, "r8a774b1-hihope-rzg2n-u-boot")) return 0; + if (is_hoperun_hihope_rzg2_board("hoperun,hihope-rzg2h") && + !strcmp(name, "r8a774e1-hihope-rzg2h-u-boot")) + return 0; + return -1; } #endif -- cgit v1.2.3