Re: [PATCH v5 02/11] bloblist: Adjust API to align in powers of 2

2024-01-01 Thread Simon Glass
From: Simon Glass The updated bloblist structure stores the alignment as a power-of-two value in its structures. Adjust the API to use this, to avoid needing to calling ilog2(). Update the bloblist alignment from 16 bytes to 8 bytes. Drop a stale comment while we are here. Signed-off-by: Simon G

[PATCH v5 02/11] bloblist: Adjust API to align in powers of 2

2023-12-29 Thread Raymond Mao
From: Simon Glass The updated bloblist structure stores the alignment as a power-of-two value in its structures. Adjust the API to use this, to avoid needing to calling ilog2(). Update the bloblist alignment from 16 bytes to 8 bytes. Drop a stale comment while we are here. Signed-off-by: Simon G