]> git.sur5r.net Git - u-boot/commit
sparse: Simplify multiple logic
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 15 Oct 2015 12:34:12 +0000 (14:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 18:17:29 +0000 (13:17 -0500)
commit40aeeda396024913835dc67fa17041693af97bd1
tree811ac4b2e53fc52af581829f98fff6d5516bcd3e
parent7bfc3b134626aafd70b550db094df327437c5698
sparse: Simplify multiple logic

To check the alignment of the image blocks to the storage blocks, the
current code uses a convoluted syntax, while a simple mod also does the
work.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/aboot.c