summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-06-15 11:38:56 +0300
committerTom Rini <trini@konsulko.com>2020-07-26 21:35:30 +0300
commit76b640c3f2c7299acc5f1e89f8788862667cc5a0 (patch)
tree8ec03be51f81fafc40ff9e93deae58c16bd980e4 /README
parent2b2f727500dc934ce201f1445c94c540ecae2798 (diff)
downloadu-boot-76b640c3f2c7299acc5f1e89f8788862667cc5a0.tar.xz
env: mmc: correct the offset returned by mmc_offset_try_partition
The output of the function mmc_offset_try_partition must be a byte offset in mmc and not a multiple of blksz. This function is used in mmc_offset(), called by mmc_get_env_addr() and the offset is used in write_env(), erase_env() and read_env(). In these function, blk_start = offset / mmc->read_bl_len or /write_bl_len so this offset is not a multiple of blksz. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions