mkimage: simplify fit_check_params()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 11 Dec 2019 12:51:38 +0000 (13:51 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jan 2020 19:18:26 +0000 (14:18 -0500)
commit5819466dc1d2856afa84188745eaa5f415ee08cb
tree6798c8ab6c42d8934999d60fbb956da95ec536af
parent6478a7ee3bae03bab4d9e092d91157a75d9fcf24
mkimage: simplify fit_check_params()

fit_check_params() wants at least two of dflag, fflag, and lflag set.

Simplify the logical constraint checking this.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
tools/fit_image.c