Skip to content
Snippets Groups Projects
Commit 265edc03 authored by Rob Clark's avatar Rob Clark Committed by Tom Rini
Browse files

fs/fat: Clean up open-coded sector <-> cluster conversions


Use the clust_to_sect() helper that was introduced earlier, and add an
inverse sect_to_clust(), plus update the various spots that open-coded
this conversion previously.

Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 21a24c3b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment