From: Tom Rini Date: Sun, 18 Mar 2018 10:56:53 -0400 Subject: [U-Boot] [PATCH v4 1/2] ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode In-Reply-To: <1521273772-26451-1-git-send-email-j-keerthy@ti.com> References: <1521273772-26451-1-git-send-email-j-keerthy@ti.com> Message-ID: <20180318145653.GX4418@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Mar 17, 2018 at 01:32:52PM +0530, Keerthy wrote: > From: Tero Kristo > > Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers > for wakeup from RTC-only mode with DDR in self-refresh. Parse these > registers during SPL boot and jump to the kernel resume vector if the > device is waking up from RTC-only modewith DDR in Self-refresh. > > The RTC scratch register layout used is: > > SCRATCH0 : bits00-31 : kernel resume address > SCRATCH1 : bits00-15 : RTC magic value used to detect valid config > SCRATCH1 : bits16-31 : board type information populated by bootloader > > During the normal boot path the SCRATCH1 : bits16-31 are updated with > the eeprom read board type data. In the rtc_only boot path the rtc > scratchpad register is read and the board type is determined and > correspondingly ddr dpll parameters are set. This is done so as to avoid > costly i2c read to eeprom. > > RTC-only +DRR in self-refresh mode support is currently only enabled for > am43xx_evm_rtconly_config. > This is not to be used with epos evm builds. > > Signed-off-by: Tero Kristo > [j-keerthy at ti.com Rebased to latest u-boot master branch] > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: