Re: [PATCH 01/14] memory: ti-emif-sram: Add resume function to recopy sram code

2018-05-23 Thread Santosh Shilimkar
On 5/23/2018 1:47 AM, Keerthy wrote: On Monday 16 April 2018 03:59 PM, Keerthy wrote: [..] Instead of this indirect method , why can't just check the previous deep sleep mode and based on that do copy or not. EMIF power status register should have something like that ? I will check if w

Re: [PATCH 01/14] memory: ti-emif-sram: Add resume function to recopy sram code

2018-05-23 Thread Keerthy
On Monday 16 April 2018 03:59 PM, Keerthy wrote: > > > On Thursday 12 April 2018 10:14 PM, santosh.shilim...@oracle.com wrote: >> On 4/11/18 9:53 PM, Keerthy wrote: >>> From: Dave Gerlach >>> >>> After an RTC+DDR cycle we lose sram context so emif pm functions present >>> in sram are lost. We

Re: [PATCH 01/14] memory: ti-emif-sram: Add resume function to recopy sram code

2018-04-18 Thread Keerthy
On Thursday 12 April 2018 10:14 PM, santosh.shilim...@oracle.com wrote: > On 4/11/18 9:53 PM, Keerthy wrote: >> From: Dave Gerlach >> >> After an RTC+DDR cycle we lose sram context so emif pm functions present >> in sram are lost. We can check if the first byte of the original >> code in DDR con

Re: [PATCH 01/14] memory: ti-emif-sram: Add resume function to recopy sram code

2018-04-16 Thread Keerthy
On Thursday 12 April 2018 10:14 PM, santosh.shilim...@oracle.com wrote: > On 4/11/18 9:53 PM, Keerthy wrote: >> From: Dave Gerlach >> >> After an RTC+DDR cycle we lose sram context so emif pm functions present >> in sram are lost. We can check if the first byte of the original >> code in DDR con

Re: [PATCH 01/14] memory: ti-emif-sram: Add resume function to recopy sram code

2018-04-12 Thread santosh.shilim...@oracle.com
On 4/11/18 9:53 PM, Keerthy wrote: From: Dave Gerlach After an RTC+DDR cycle we lose sram context so emif pm functions present in sram are lost. We can check if the first byte of the original code in DDR contains the same first byte as the code in sram, and if they do not match we know we have

[PATCH 01/14] memory: ti-emif-sram: Add resume function to recopy sram code

2018-04-11 Thread Keerthy
From: Dave Gerlach After an RTC+DDR cycle we lose sram context so emif pm functions present in sram are lost. We can check if the first byte of the original code in DDR contains the same first byte as the code in sram, and if they do not match we know we have lost context and must recopy the func