public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/2] avb2.0: fix multiple compilation issues in sandbox
@ 2018-07-17 11:33 Igor Opaniuk
  2018-07-17 11:33 ` [U-Boot] [PATCH v2 1/2] avb2.0: add proper dependencies Igor Opaniuk
  2018-07-17 11:33 ` [U-Boot] [PATCH v2 2/2] avb2.0: use block API in AVB ops Igor Opaniuk
  0 siblings, 2 replies; 7+ messages in thread
From: Igor Opaniuk @ 2018-07-17 11:33 UTC (permalink / raw)
  To: u-boot

This series of two patches fixes compilation issues when AVB 2.0 is
enabled for the 'sandbox' architecture:

1. Since libavb library alone is highly portable, it introduce dedicated
Kconfig symbol for AVB compiler-dependent operations, so it's possible
to build libavb separately.
2. Add CONFIG_FASTBOOT dependency, as fastboot buffer is
re-used in partition verification operations.
3. Use blk_dread()/blk_dwrite() in mmc_read()/mmc_write() AVB operation
implementations. This fixes compilation issues when CONFIG_BLK is
enabled.

Changes for v2:
- Updated eb81cae89f ("avb2.0: add proper dependencies")
commit message (added more details).
- Extended description of AVB_VERIFY Kconfig symbol.
- Replaced CONFIG_LIBAVB to CONFIG_AVB_VERIFY in common/Makefile.

Igor Opaniuk (2):
  avb2.0: add proper dependencies
  avb2.0: use block API in AVB ops

 cmd/Kconfig         |  2 +-
 common/Kconfig      | 10 ++++++++++
 common/Makefile     |  2 +-
 common/avb_verify.c |  9 +++++----
 doc/README.avb2     |  1 +
 5 files changed, 18 insertions(+), 6 deletions(-)

--
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-26 19:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17 11:33 [U-Boot] [PATCH v2 0/2] avb2.0: fix multiple compilation issues in sandbox Igor Opaniuk
2018-07-17 11:33 ` [U-Boot] [PATCH v2 1/2] avb2.0: add proper dependencies Igor Opaniuk
2018-07-17 22:08   ` Eugeniu Rosca
2018-07-26 19:54   ` [U-Boot] [U-Boot,v2,1/2] " Tom Rini
2018-07-17 11:33 ` [U-Boot] [PATCH v2 2/2] avb2.0: use block API in AVB ops Igor Opaniuk
2018-07-17 22:26   ` Eugeniu Rosca
2018-07-26 19:54   ` [U-Boot] [U-Boot,v2,2/2] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox