diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-04 09:22:09 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-25 10:33:16 +0100 |
commit | 77c077e1713d4f45c3e2972ab487b6f6f2bbabc0 (patch) | |
tree | 383e1829aaaaaf9f2b94c82a90a5f2405458889a /drivers/gpio/imx_rgpio2p.c | |
parent | d5b05113912989f2f23f0bb130bce7e42a9cacd1 (diff) |
arm: stm32mp: correct the ALIGN macro usage
Correct the ALIGN macro usage in mmu_set_region_dcache_behaviour
call: the address must use ALIGN_DOWN and size can use ALIGN macro.
With STM32_SYSRAM_BASE=0x2FFC0000 and MMU_SECTION_SIZE=0x100000 for
STM32MP15x the computed address was 30000000 instead of 2ff00000.
Fixes: 43fe9d2fda24 ("stm32mp1: mmu_set_region_dcache_behaviour")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions