[PATCH 4/5] bloblist: Allow custom alignment for blobs

Simon Glass sjg at chromium.org
Mon Oct 5 23:32:36 CEST 2020


Some blobs need a larger alignment than the default. For example, ACPI
tables often start at a 4KB boundary. Add support for this.

Update the size of the test blob to allow these larger records.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 common/bloblist.c  | 32 ++++++++++++++++++++------------
 include/bloblist.h |  6 ++++--
 test/bloblist.c    | 42 +++++++++++++++++++++++++++++++++---------
 3 files changed, 57 insertions(+), 23 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list