[PATCH u-boot] mmc: Use EXT_CSD_EXTRACT_BOOT_PART() macro for extracting boot part

Simon Glass sjg at chromium.org
Thu Mar 30 22:13:36 CEST 2023


On Sat, 11 Mar 2023 at 23:44, Pali Rohár <pali at kernel.org> wrote:
>
> Mask macro PART_ACCESS_MASK filter out access bits of emmc register and
> macro EXT_CSD_EXTRACT_BOOT_PART() extracts boot part bits of emmc register.
> So use EXT_CSD_EXTRACT_BOOT_PART() when extracting boot partition.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
>  board/purism/librem5/librem5.c | 2 +-
>  cmd/mvebu/bubt.c               | 3 +--
>  common/spl/spl_mmc.c           | 2 +-
>  3 files changed, 3 insertions(+), 4 deletions(-)
>

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


More information about the U-Boot mailing list