board: samsung: exynos5-dt: modify the get_dfu_alt_system information
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 1 Oct 2018 04:00:43 +0000 (13:00 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:47 +0000 (15:13 +0900)
commit869b42fc52e62ec1784a4141e11a4cc8a5949d12
tree877deae30cc850a6b8f3aa559b0ce7c7a9424394
parentb9327b39fac96662765b18cbf16977e5c2f6f0c5
board: samsung: exynos5-dt: modify the get_dfu_alt_system information

If there is a partition7, set to dfu_alt_system_2.
Otherwise, just use the dfu_alt_system.
(It's relevant to thor download.)

- change from getenv() to env_get().

Change-Id: I1ff7b5a6c97ad7eed2b6cd489260cfdc902c2a73
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/samsung/common/exynos5-dt.c