diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2021-03-01 17:08:49 +0000 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2021-03-16 20:09:29 +0100 |
commit | 5be85de6a8a049d77f2433f8e100f2529a956f61 (patch) | |
tree | 85d7ac8bdc4e8f4664a151c94b20af2a8c934d29 /board/hoperun | |
parent | dca070c382b7bcfee0ffd26b3f817347477f8243 (diff) | |
download | u-boot-5be85de6a8a049d77f2433f8e100f2529a956f61.tar.gz |
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.c | 6 |
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 |