]> git.sur5r.net Git - u-boot/commit
splash: fix splash source flags check
authortomas.melin@vaisala.com <tomas.melin@vaisala.com>
Wed, 16 Nov 2016 11:02:32 +0000 (13:02 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 13 Jan 2017 19:45:25 +0000 (20:45 +0100)
commit3b593f9030bae149af9261f51933805be506f6b1
tree652a1b5592c78417939652454a6f5635ba259983
parentb4fc6f221474e2bc9f3e4af52556fd4ab5cbb9b9
splash: fix splash source flags check

SPLASH_STORAGE_RAW is defined as 0, so a check against & will
never be true. These flags are never combined so do a check
against == instead.

Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/splash_source.c