summaryrefslogtreecommitdiff
path: root/board/hoperun
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2021-03-01 20:08:49 +0300
committerMarek Vasut <marek.vasut+renesas@gmail.com>2021-03-16 22:09:29 +0300
commit5be85de6a8a049d77f2433f8e100f2529a956f61 (patch)
tree85d7ac8bdc4e8f4664a151c94b20af2a8c934d29 /board/hoperun
parentdca070c382b7bcfee0ffd26b3f817347477f8243 (diff)
downloadu-boot-5be85de6a8a049d77f2433f8e100f2529a956f61.tar.xz
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 <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Diffstat (limited to 'board/hoperun')
-rw-r--r--board/hoperun/hihope-rzg2/hihope-rzg2.c6
1 files changed, 5 insertions, 1 deletions
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