Home
last modified time | relevance | path

Searched hist:"1 d8c5dbb6ed50e42d1ea0a7f9c0e6d589648e890" (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dfat.h1d8c5dbb6ed50e42d1ea0a7f9c0e6d589648e890 Sat Sep 09 17:16:00 UTC 2017 Rob Clark <robdclark@gmail.com> UPSTREAM: 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.

Change-Id: Ifb6a59cefda1491639dcd6e8ea32fd2490af13b5
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 265edc03d5a19550d92cbd6e10631d5a15bdd1d5)
/rk3399_rockchip-uboot/fs/fat/
H A Dfat_write.c1d8c5dbb6ed50e42d1ea0a7f9c0e6d589648e890 Sat Sep 09 17:16:00 UTC 2017 Rob Clark <robdclark@gmail.com> UPSTREAM: 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.

Change-Id: Ifb6a59cefda1491639dcd6e8ea32fd2490af13b5
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 265edc03d5a19550d92cbd6e10631d5a15bdd1d5)
H A Dfat.c1d8c5dbb6ed50e42d1ea0a7f9c0e6d589648e890 Sat Sep 09 17:16:00 UTC 2017 Rob Clark <robdclark@gmail.com> UPSTREAM: 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.

Change-Id: Ifb6a59cefda1491639dcd6e8ea32fd2490af13b5
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 265edc03d5a19550d92cbd6e10631d5a15bdd1d5)