summaryrefslogtreecommitdiff
path: root/configs/orangepi_plus2e_defconfig
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-02-13 20:16:20 +0100
committerMarek Vasut <marex@denx.de>2019-04-29 10:08:56 +0200
commitbdb5df1a06777c3363b4579f5370f852635cb977 (patch)
treed7d9a83b5ac8c9c3f90a755e5f2b9efa3e346153 /configs/orangepi_plus2e_defconfig
parent6ad5aec419782955fa4be79c93f2640fc043f3cf (diff)
mmc: dw_mmc: Round up descriptor end to nearest multiple of cacheline size
The driver currently calculates the end address of cache flush operation for the DMA descriptors by adding cacheline size to the start address of the last DMA descriptor. This is not safe, as the cacheline size may be, in some unlikely cases, smaller than the DMA descriptor size. Replace the addition with roundup() applied on the end address of the last DMA descriptor to round it up to the nearest cacheline size multiple. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/orangepi_plus2e_defconfig')
0 files changed, 0 insertions, 0 deletions