u-boot/arch/arm/mach-omap2
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
..
am33xx ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
omap3 ARM: dts: omap3-evm: Enable DM and devicetree for TMDSEVM{3530, 3730} 2018-01-01 09:04:19 -05:00
omap4 arm: omap2: Fix compiler warning 2018-02-13 20:34:07 -05:00
omap5 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
abb.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
boot-common.c spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the U-boot CONFIG 2018-03-05 10:06:05 -05:00
clocks-common.c ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters 2017-04-08 21:32:49 -04:00
config_secure.mk arm: mach-omap2: Generate MLO file from SD boot capable targets 2017-06-16 10:11:42 -04:00
config.mk mach-omap2: Cleanup secure boot media generation 2017-01-24 10:35:56 -05:00
emif-common.c arm: omap2: Fix compiler warning 2018-02-13 20:34:07 -05:00
fdt-common.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
hwinit-common.c arm: dra762: Add support for device package identification 2018-01-19 15:49:26 -05:00
Kconfig Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
lowlevel_init.S arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Makefile arm: mach-omap2: Factor out common FDT fixup suport 2017-07-22 22:22:43 -04:00
mem-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
omap-cache.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.h arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
reset.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sata.c dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset() 2017-07-11 10:08:19 -06:00
sec-common.c arm: mach-omap2: Pass args to secure ROM in SRAM in SPL 2018-01-28 09:39:05 -05:00
sysinfo-common.c arm: omap: Fix 'get_device_type()' for OMAP34XX 2017-08-12 18:56:26 -04:00
timer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
u-boot-spl.lds ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL 2017-03-21 07:15:21 -04:00
utils.c omap: Fix AM335x build with enabled fastboot flash 2018-03-13 21:59:29 -04:00
vc.c omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE 2017-05-15 10:40:03 -04:00