diff options
author | Pali Rohár <pali@kernel.org> | 2023-04-11 20:35:51 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2023-04-13 11:34:47 +0200 |
commit | 4548b37a29035c1d946e86513b70029cb4dc08b4 (patch) | |
tree | 10385cb825b47acb35962828247e6f232dd266fe /tools/aisimage.c | |
parent | fa06a6df65b7bf77c112aa3f83b3b62bf7790712 (diff) | |
download | u-boot-4548b37a29035c1d946e86513b70029cb4dc08b4.zip u-boot-4548b37a29035c1d946e86513b70029cb4dc08b4.tar.gz u-boot-4548b37a29035c1d946e86513b70029cb4dc08b4.tar.bz2 |
cmd: mvebu/bubt: a38x: Do not hardcode SATA block size to 512
Find SATA block device by blk_get_devnum_by_uclass_id() function and read
from it the real block size of the SATA disk. In case of error, fallback
back to 512 bytes.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'tools/aisimage.c')
0 files changed, 0 insertions, 0 deletions