Re: [PATCH] arm: stm32mp1: activate data cache in SPL and before relocation

2020-04-03 Thread Marek Vasut
On 4/3/20 10:03 AM, Patrick DELAUNAY wrote: > Hi Marek, Hi, >> From: Marek Vasut >> Sent: lundi 30 mars 2020 16:04 >> >> On 3/30/20 3:49 PM, Patrick DELAUNAY wrote: >>> Hi Marek, >> >> Hi, >> >> [...] >> > - /* Enable D-cache. I-cache is already enabled in start.S */ > + /* I-cache is

RE: [PATCH] arm: stm32mp1: activate data cache in SPL and before relocation

2020-04-03 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: lundi 30 mars 2020 16:04 > > On 3/30/20 3:49 PM, Patrick DELAUNAY wrote: > > Hi Marek, > > Hi, > > [...] > > >>> - /* Enable D-cache. I-cache is already enabled in start.S */ > >>> + /* I-cache is already enabled in start.S */ > > > > Not needed for arm

Re: [PATCH] arm: stm32mp1: activate data cache in SPL and before relocation

2020-03-30 Thread Marek Vasut
On 3/30/20 3:49 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, [...] >>> - /* Enable D-cache. I-cache is already enabled in start.S */ >>> + /* I-cache is already enabled in start.S */ > > Not needed for arm V7 (I copy this function from other platfrom ... I don't > remember which one)

RE: [PATCH] arm: stm32mp1: activate data cache in SPL and before relocation

2020-03-30 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: lundi 30 mars 2020 11:57 > > On 3/30/20 9:46 AM, Patrick Delaunay wrote: > [...] > > > 2/ And for the basic boot chain with SPL > > > > a) Before the patch: > > > > STM32MP> bootstage report > > Timer summary in microseconds (12 records): > >

Re: [PATCH] arm: stm32mp1: activate data cache in SPL and before relocation

2020-03-30 Thread Marek Vasut
On 3/30/20 9:46 AM, Patrick Delaunay wrote: [...] > 2/ And for the basic boot chain with SPL > > a) Before the patch: > > STM32MP> bootstage report > Timer summary in microseconds (12 records): >MarkElapsed Stage > 0 0 reset > 195,613