u-boot-brain/board/ti
Tero Kristo 7619badb9c ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode
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 <t-kristo@ti.com>
[j-keerthy@ti.com Rebased to latest u-boot master branch]
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2018-04-06 17:04:33 -04:00
..
am43xx ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
am57xx Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
am335x Add support for BeagleBoard.org PocketBeagle 2018-04-06 17:04:33 -04:00
am3517crane Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XX 2017-08-09 06:14:13 +02:00
beagle ARM: omap3: beagle: Set 'mtdids' and 'mtdparts' in board file 2018-03-13 21:59:27 -04:00
common env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr() 2017-08-16 08:23:56 -04:00
dra7xx Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
evm ARM: omap3: evm: Refactor 'board_eth_init' 2018-01-01 09:04:19 -05:00
ks2_evm env: Fix missed getenv_ulong to env_get_ulong conversion 2018-02-23 10:21:41 -05:00
omap5_uevm usb: hub: identify the hub-device to usb_hub_reset_devices 2017-11-26 02:22:36 +01:00
panda env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
sdp4430 omap4: sdp4430: match the #endif comment to #ifdef 2017-10-27 08:52:22 -04:00
ti814x env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ti816x env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00