Re: [U-Boot] [PATCH 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Tom Rini
On Thu, Mar 15, 2018 at 05:58:47PM +0530, Keerthy wrote: > > > On Thursday 15 March 2018 05:56 PM, Tom Rini wrote: > > On Thu, Mar 15, 2018 at 04:09:52PM +0530, Keerthy wrote: > > > >> From: Tero Kristo > >> > >> Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers > >> for

Re: [U-Boot] [PATCH 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Keerthy
On Thursday 15 March 2018 05:56 PM, Tom Rini wrote: > On Thu, Mar 15, 2018 at 04:09:52PM +0530, Keerthy wrote: > >> From: Tero Kristo >> >> Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers >> for wakeup from RTC-only mode. Parse these registers during SPL boot and >> jum

Re: [U-Boot] [PATCH 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Tom Rini
On Thu, Mar 15, 2018 at 04:09:52PM +0530, Keerthy wrote: > From: Tero Kristo > > Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers > for wakeup from RTC-only mode. Parse these registers during SPL boot and > jump to the kernel resume vector if the device is waking up from

[U-Boot] [PATCH 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Keerthy
From: Tero Kristo Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers for wakeup from RTC-only mode. Parse these registers during SPL boot and jump to the kernel resume vector if the device is waking up from RTC-only mode. The RTC scratch register layout used is: SCRATCH0 :