[PATCH v6 07/25] spl: Take advantage of bl_len's power-of-twoness
Simon Glass
sjg at chromium.org
Wed Nov 8 05:23:37 CET 2023
On Sun, 5 Nov 2023 at 19:26, Sean Anderson <seanga2 at gmail.com> wrote:
>
> bl_len must be a power of two, so we can use ALIGN instead of roundup and
> similar tricks to avoid divisions.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> Changes in v6:
> - New
>
> common/spl/spl_fit.c | 2 +-
> common/spl/spl_imx_container.c | 8 ++++----
> 2 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list