fit: Use DM hash driver if supported
authorChia-Wei Wang <chiawei_wang@aspeedtech.com>
Fri, 30 Jul 2021 01:08:05 +0000 (09:08 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 1 Sep 2021 23:25:37 +0000 (19:25 -0400)
commitca47955a66161adf5d6e8f8e1de852ccda6626c0
treec4374dce8ffd7fa053d2807ea3d0461af3942545
parente5d870fa1ecbcd4efcc13fa6d69c6754e39cff62
fit: Use DM hash driver if supported

Calculate hash using DM driver if supported.
For backward compatibility, the call to legacy
hash functions is reserved.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
common/image-fit.c