]> git.ipfire.org Git - people/ms/u-boot.git/commit
image: fix getenv_bootm_size() function again
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 5 Feb 2016 07:12:50 +0000 (16:12 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:22:40 +0000 (10:22 -0500)
commit0cb389dd1a3805db9639f70131e58f9bb602100e
treec673a17395894d80774ebe560de71abae638202f
parent89ab841088f5ccc78f0d501641fc99ea4d8c26f2
image: fix getenv_bootm_size() function again

Commit 9c11135ce053 ("image: fix getenv_bootm_size() function") fixed
the case where "bootm_low" is defined, but "bootm_size" is not.
Instead, it broke the case where neither "bootm_low" nor "bootm_size"
is defined.  Fix this function again.

Fixes: 9c11135ce053 ("image: fix getenv_bootm_size() function")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Matthias Weisser <m.weisser.m@gmail.com>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
common/image.c