]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Use EXT_CSD_EXTRACT_BOOT_PART() macro for extracting boot part
authorPali Rohár <pali@kernel.org>
Sat, 11 Mar 2023 10:44:27 +0000 (11:44 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2023 03:18:17 +0000 (12:18 +0900)
commit8b8820669646ceb08d6ceed4181b53042639f3ab
treee637be01de1e169550355e70f79193f948f865c4
parent8af21b094d92f671bd2f6483a15be5b3c33baca6
mmc: Use EXT_CSD_EXTRACT_BOOT_PART() macro for extracting boot part

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@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/purism/librem5/librem5.c
cmd/mvebu/bubt.c
common/spl/spl_mmc.c