u-boot/arch
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
..
arc ARC: HSDK: Enable SPI flash support 2018-04-02 12:27:56 +03:00
arm ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
m68k Convert CONFIG_SYS_BOOT_GET_{CMDLINE, KBD} to Kconfig 2018-01-30 12:52:57 -05:00
microblaze fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
mips mips: bmips: add ar-5315 usb support 2018-03-21 23:23:13 +01:00
nds32 Drop CONFIG_FTSDC010_BASE 2018-03-30 13:13:45 +08:00
nios2 nios2: 10m50: Add CPU pre-relocation in device tree 2017-11-17 10:51:24 -05:00
powerpc powerpc: mpc8xx: move watchdog into drivers/watchdog 2018-04-06 16:31:11 -04:00
riscv riscv: ae250: Support DT provided by the board at runtime 2018-03-30 13:13:56 +08:00
sandbox core: ofnode: Fix translation for #size-cells == 0 2018-04-01 22:19:10 +08:00
sh sh: Do not provide strncmp 2018-02-23 00:06:05 +01:00
x86 x86: zImage: Pass working device tree data to the kernel 2018-03-30 16:06:58 +08:00
xtensa xtensa: clean up CONFIG_SYS_TEXT_ADDR 2018-02-23 10:21:41 -05:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00