]> git.dujemihanovic.xyz Git - u-boot.git/commit
blk: Use a macro for the typical block size
authorBin Meng <bmeng@tinylab.org>
Tue, 26 Sep 2023 08:43:31 +0000 (16:43 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 10 Oct 2023 20:19:29 +0000 (16:19 -0400)
commit7020b2eca49e2c902bb443273ba21df2050d7f1e
tree3ab43cd31eb25f3f4dbde1f07f6e4439242225b5
parent833ff23047c50e4053fb1bda21f4e2c9f6a3aa6a
blk: Use a macro for the typical block size

Avoid using the magic number 512 directly.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/usb_storage.c
drivers/ata/dwc_ahsata.c
drivers/ata/fsl_sata.c
drivers/ata/sata_mv.c
drivers/ata/sata_sil.c
drivers/block/blkmap.c
drivers/block/host_dev.c
drivers/mmc/mmc-uclass.c
drivers/nvme/nvme.c
include/blk.h