diff options
author | Leo Yan <leoy@marvell.com> | 2014-03-31 09:50:35 +0800 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-04-07 22:27:22 +0200 |
commit | 42ddfad6ab6ad64d1c96a90636c36794284669b3 (patch) | |
tree | 7aba3ec6c539ce781b3f4e0ccdf6ef9d02ebfd5d /drivers/net/xilinx_emaclite.c | |
parent | 88590148fa8b7e2d7ca910a7a03b5c5700af58e4 (diff) | |
download | u-boot-imx-42ddfad6ab6ad64d1c96a90636c36794284669b3.zip u-boot-imx-42ddfad6ab6ad64d1c96a90636c36794284669b3.tar.gz u-boot-imx-42ddfad6ab6ad64d1c96a90636c36794284669b3.tar.bz2 |
ARMv8: fix bug for flush data cache by set/way
When flush the d$ with set/way instruction, it need calculate the way's
offset = log2(Associativity); but in current uboot's code, it use below
formula to calculate the offset: log2(Associativity * 2 - 1), so finally
it cannot flush data cache properly.
Signed-off-by: Leo Yan <leoy@marvell.com>
Diffstat (limited to 'drivers/net/xilinx_emaclite.c')
0 files changed, 0 insertions, 0 deletions