avb: Make AVB independent of fastboot
authorUsama Arif <usama.arif@arm.com>
Tue, 11 Aug 2020 14:46:03 +0000 (15:46 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 24 Aug 2020 18:11:13 +0000 (14:11 -0400)
commite61b41517d2a91080f6416fdfb46efab9e5a55b4
tree65fa59b6f41798a07cefebcf11c6b0e3e8265510
parent1aa3966173fe92fa3c46638ee8eb8b8491f521d6
avb: Make AVB independent of fastboot

AVB only uses CONFIG_FASTBOOT_BUF_ADDR from fastboot for memory.
This memory is used for assigning temporary buffers.
This can be assigned a new variable and used as CONFIG_AVB_BUF_ADDR.
This is to support future boards that support AVB but dont support
USB and therefore dont support FASTBOOT.

Signed-off-by: Usama Arif <usama.arif@arm.com>
Cc: Igor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Igor Opaniuk <igor.opaniuk@gmail.com>
[trini: Change defaults]
Signed-off-by: Tom Rini <trini@konsulko.com>
common/Kconfig
common/avb_verify.c
include/avb_verify.h