diff options
author | Dirk Meul <dirk.meul@rwth-aachen.de> | 2018-10-14 17:14:17 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2018-10-23 20:00:52 +0900 |
commit | 9cd97c5b049a9a282dda0b1782cbb38d8cedb417 (patch) | |
tree | d9dea5c596991703b3e0e5906a394fff56272ba2 /board/samsung/common/exynos5-dt.c | |
parent | 3ae192c2a4d52a755031e93fa6cc3a31ba90f29f (diff) |
ARM: Samsung: Add Exynos5422-based Odroid HC2 support
Odroid HC2 board is based on Odroid XU4 board, like the Odroid HC1.
The linux kernel does not provide a hc2 DTB so the hc1 DTB is also used
for the Odroid HC2.
Resend because MUA changed whitespace.
Signed-off-by: Dirk Meul <dirk.meul@rwth-aachen.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/common/exynos5-dt.c')
-rw-r--r-- | board/samsung/common/exynos5-dt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/common/exynos5-dt.c b/board/samsung/common/exynos5-dt.c index 8c3a9ea564..c183965b92 100644 --- a/board/samsung/common/exynos5-dt.c +++ b/board/samsung/common/exynos5-dt.c @@ -179,7 +179,7 @@ char *get_dfu_alt_system(char *interface, char *devstr) { char *info = "Not supported!"; - if (board_is_odroidxu4() || board_is_odroidhc1()) + if (board_is_odroidxu4() || board_is_odroidhc1() || board_is_odroidhc2()) return info; return env_get("dfu_alt_system"); @@ -192,7 +192,7 @@ char *get_dfu_alt_boot(char *interface, char *devstr) char *alt_boot; int dev_num; - if (board_is_odroidxu4() || board_is_odroidhc1()) + if (board_is_odroidxu4() || board_is_odroidhc1() || board_is_odroidhc2()) return info; dev_num = simple_strtoul(devstr, NULL, 10); |