summaryrefslogtreecommitdiff
path: root/board/hoperun/hihope-rzg2/hihope-rzg2.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2021-03-01 17:08:48 +0000
committerMarek Vasut <marek.vasut+renesas@gmail.com>2021-03-16 20:09:29 +0100
commitdca070c382b7bcfee0ffd26b3f817347477f8243 (patch)
tree3a06bec1e6976c7d9bb6999f33fdc22e3f49660d /board/hoperun/hihope-rzg2/hihope-rzg2.c
parentb650c838253f602cd28205b23d89caa454994790 (diff)
downloadu-boot-dca070c382b7bcfee0ffd26b3f817347477f8243.tar.gz
u-boot-dca070c382b7bcfee0ffd26b3f817347477f8243.tar.bz2
u-boot-dca070c382b7bcfee0ffd26b3f817347477f8243.zip
arm: rmobile: Add HopeRun HiHope RZ/G2N board support
The HiHope RZ/G2N board from HopeRun consists of main board (HopeRun HiHope RZ/G2N main board) and sub board(HopeRun HiHope RZ/G2N sub board). The HiHope RZ/G2N sub board sits below the HiHope RZ/G2N main board. This patch adds the required board support to boot HopeRun HiHope RZ/G2N 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/hihope-rzg2/hihope-rzg2.c')
-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 a60529f780..2a61268c69 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/G2M board support.
+ * This file is HiHope RZ/G2[MN] board support.
*
* Copyright (C) 2021 Renesas Electronics Corporation
*/
@@ -100,6 +100,10 @@ int board_fit_config_name_match(const char *name)
!strcmp(name, "r8a774a1-hihope-rzg2m-u-boot"))
return 0;
+ if (is_hoperun_hihope_rzg2_board("hoperun,hihope-rzg2n") &&
+ !strcmp(name, "r8a774b1-hihope-rzg2n-u-boot"))
+ return 0;
+
return -1;
}
#endif