avb2.0: use block API in AVB ops
authorIgor Opaniuk <igor.opaniuk@linaro.org>
Tue, 17 Jul 2018 11:33:26 +0000 (14:33 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jul 2018 13:25:23 +0000 (09:25 -0400)
commite9ee7398d64796d441067d5456b6e65780d11dbd
tree3acb8b2c00534b8bdaf6564ccbf5fd3bb30f3401
parentb0aa74a2640cd1be1d9bdfd8024ed3faa119e447
avb2.0: use block API in AVB ops

Use blk_dread()/blk_dwrite() in mmc_read()/mmc_write() AVB operation
implementations. This fixes compilation issues when CONFIG_BLK is
enabled.

Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Tested-by: Eugeniu Rosca <rosca.eugeniu@gmail.com>
common/avb_verify.c