]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: mediatek: set b_max according CONFIG_SYS_MMC_MAX_BLK_COUNT
authorJulien Masson <jmasson@baylibre.com>
Mon, 4 Dec 2023 13:41:45 +0000 (14:41 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Dec 2023 15:07:48 +0000 (10:07 -0500)
commitfd8de9730c3d35625b471df1cc77dc28ed7a9888
treed7b31a42d26affff5235f6c101b348f3f55bafa6
parent00b049339850ecd57c518fde72cd2739a3bc0bb1
mmc: mediatek: set b_max according CONFIG_SYS_MMC_MAX_BLK_COUNT

The block count limit on MMC based devices should be set according to
CONFIG_SYS_MMC_MAX_BLK_COUNT instead of hardcoding value.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
drivers/mmc/mtk-sd.c