From: Patrick DELAUNAY Date: Wed, 25 Nov 2020 09:35:22 +0000 Subject: [PATCH] arm: stm32mp: correct the ALIGN macro usage In-Reply-To: <20201104082209.6424-1-patrick.delaunay@st.com> References: <20201104082209.6424-1-patrick.delaunay@st.com> Message-ID: <575bf4bdcf874533b58c1bc237d21906@SFHDAG2NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Patrick DELAUNAY > Sent: mercredi 4 novembre 2020 09:22 > > 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 > --- > > arch/arm/mach-stm32mp/cpu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied to u-boot-stm/master, thanks! Thanks Patrick