commit | e3736072507513b88434e62a37e31d4006c7ffeb | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Tue Apr 11 20:35:51 2023 +0200 |
committer | Stefan Roese <sr@denx.de> | Thu Apr 13 11:34:47 2023 +0200 |
tree | 10385cb825b47acb35962828247e6f232dd266fe | |
parent | b4c498266f9cd887121e105b09f61152571737dd [diff] |
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>