commit | 41bad3e4cb38341f94dee149dd562ed8c93f7d37 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Mon May 11 16:41:07 2020 +0800 |
committer | Tom Rini <trini@konsulko.com> | Mon May 25 11:54:53 2020 -0400 |
tree | cc3e143494ace3b5b27a66ed568d5159ca2da079 | |
parent | 7fcb9b8700422b35c78418afaadb0c355101002d [diff] |
armv8: cache_v8: fix mmu_set_region_dcache_behaviour The enum dcache_optoion contains a shift left 2 bits in the armv8 case already. The PMD_ATTRINDX(option) macro will perform a left shift of 2 bits. Perform a right shift so that in the end we get the correct value. [trini: Reword the commit message] Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>