public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] avb 2.0: fix multiple compilation issues in sandbox
@ 2018-07-13 16:03 Igor Opaniuk
  2018-07-13 16:03 ` [U-Boot] [PATCH 1/2] avb2.0: add proper dependencies Igor Opaniuk
  2018-07-13 16:03 ` [U-Boot] [PATCH 2/2] avb2.0: use block API in AVB ops Igor Opaniuk
  0 siblings, 2 replies; 4+ messages in thread
From: Igor Opaniuk @ 2018-07-13 16:03 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.

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

 cmd/Kconfig         | 2 +-
 common/Kconfig      | 7 +++++++
 common/avb_verify.c | 9 +++++----
 doc/README.avb2     | 1 +
 4 files changed, 14 insertions(+), 5 deletions(-)

--
2.7.4

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

end of thread, other threads:[~2018-07-14 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-13 16:03 [U-Boot] [PATCH 0/2] avb 2.0: fix multiple compilation issues in sandbox Igor Opaniuk
2018-07-13 16:03 ` [U-Boot] [PATCH 1/2] avb2.0: add proper dependencies Igor Opaniuk
2018-07-14 13:52   ` Eugeniu Rosca
2018-07-13 16:03 ` [U-Boot] [PATCH 2/2] avb2.0: use block API in AVB ops Igor Opaniuk

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