u-boot/arch/arm/include/asm
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
..
arch-am33xx ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
arch-armada8k arm64: mvebu: Add L3 cache flush functionality to A8K family 2016-12-12 09:05:28 +01:00
arch-armada100 i2c: Drop use of CONFIG_I2C_HARD 2017-05-15 06:17:09 +02:00
arch-armv7
arch-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
arch-bcm235xx bcm235xx: boot0 hook: adjust to unified boot0 semantics 2017-11-21 23:57:21 +01:00
arch-bcm281xx bcm281xx: boot0 hook: adjust to unified boot0 semantics 2017-11-21 23:57:22 +01:00
arch-bcmcygnus Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
arch-bcmnsp Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
arch-ep93xx
arch-fsl-layerscape armv8: layerscape: csu: enable ns access to PFE registers 2018-03-22 15:05:30 -05:00
arch-hi3798cv200 ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards 2017-07-10 14:26:03 -04:00
arch-hi6220 driver: gpio: hikey: Fix pointer conversion warnings for hikey 2015-11-12 15:58:59 -05:00
arch-imx imx: add i.MX8MQ SoC Revision and is_mx8m helper 2018-02-04 12:00:58 +01:00
arch-lpc32xx Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
arch-ls102xa ata: Migrate CONFIG_LIBATA to Kconfig 2017-12-12 18:16:05 -05:00
arch-meson ARM: arch-meson: build memory banks using reported memory from registers 2017-12-04 10:17:29 -05:00
arch-mvebu spi: kirkwood_spi: implement workaround for FE-9144572 2018-01-24 12:04:08 +05:30
arch-mx5 arm: mx5: Add more register definitions 2017-11-20 09:58:31 +01:00
arch-mx6 imx: cleanup bootaux 2018-02-04 12:00:58 +01:00
arch-mx7 imx: mx7: move get_boot_device to cpu.c 2018-02-04 12:00:58 +01:00
arch-mx7ulp imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
arch-mx8m imx: mx8m: add ddr controller memory map 2018-02-04 12:00:58 +01:00
arch-mx25 imx: mx25: Remove SION bit in all pin-mux that are safe 2018-02-04 12:00:58 +01:00
arch-mx27 mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
arch-mx31 imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
arch-mx35 imx: fix licensing in i.MX files 2017-08-23 10:45:45 +02:00
arch-mxs imx: fix licensing in i.MX files 2017-08-23 10:45:45 +02:00
arch-omap3 Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig 2017-09-01 20:44:30 -04:00
arch-omap4 omap: Update the base address of the MMC controllers 2018-01-18 22:04:21 -05:00
arch-omap5 ARM: OMAP5: set mmc clock frequency to 192MHz 2018-02-19 16:58:55 +09:00
arch-orion5x
arch-pxa ARM: pxa: Remove unused ifdefs 2017-12-12 21:34:10 -05:00
arch-rockchip rockchip: pinctrl: rk3188: Move the iomux definitions into pinctrl-driver 2018-03-28 23:30:30 +02:00
arch-s32v234 armv8: s32v234: Introduce basic support for s32v234evb 2016-06-13 08:56:35 -04:00
arch-sa1100
arch-spear spear: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
arch-stih410 sti: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
arch-stm32 arch-stm32: Factorize stm32.h for STM32F4 and F7 2018-03-13 21:45:37 -04:00
arch-stm32f4 arch-stm32: Remove stm32_periph.h 2018-03-13 21:45:37 -04:00
arch-stm32f7 arch-stm32: Clean arch-stm32f7/syscfg.h 2018-03-13 21:45:37 -04:00
arch-stm32h7 arch-stm32: Move gpio.h for STM32 SoCs in include/asm/ 2018-03-13 21:45:37 -04:00
arch-stv0991 stv0991: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
arch-sunxi sunxi: allow NAND support to be compiled for sun8i platforms 2018-04-03 12:11:52 +02:00
arch-tegra dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
arch-tegra20 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-tegra30 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-tegra114 Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
arch-tegra124 Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
arch-tegra186 ARM: tegra: add core Tegra186 support 2016-05-31 11:22:59 -07:00
arch-tegra210 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-vf610 imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
arch-zynqmp arm64: zynqmp: Add support for verifying secure images 2018-03-23 09:36:15 +01:00
armv8 armv8: mmu: fix page table mapping 2017-12-04 10:23:52 -05:00
iproc-common configs: Migrate CONFIG_SYS_TEXT_BASE 2018-02-11 09:30:09 -05:00
kona-common
mach-imx imx: hab: Make usage of packed attribute consistent 2018-03-11 16:00:00 +01:00
proc-armv
ti-common drivers: dma: ti-edma3: add support for memory fill 2018-01-19 15:49:25 -05:00
armv7.h armv7: Move L2CTLR read/write to common 2017-10-01 00:33:33 +02:00
armv7m.h armv7m: add MPU configuration support 2017-05-12 08:37:06 -04:00
armv7m_mpu.h stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
assembler.h arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD 2017-03-18 20:28:01 -04:00
atomic.h ARM64: Add support for some of atomic64 operations 2016-10-06 20:57:42 -04:00
barriers.h ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
bitops.h arm, ubifs: fix gcc5.x compiler warning 2016-01-20 10:03:58 -05:00
boot0-linux-kernel-header.h ARMv8: add optional Linux kernel image header 2018-01-12 09:52:11 -07:00
bootm.h arm: Add declarations to avoid needing to include headers 2017-06-05 11:02:37 -04:00
byteorder.h
cache.h arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD 2017-03-18 20:28:01 -04:00
config.h arm64: support running at addr other than linked to 2017-11-17 07:44:13 -05:00
davinci_rtc.h
dma-mapping.h dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
ehci-omap.h configs: Remove CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS in all boards 2017-07-28 23:34:24 +02:00
emif.h cmd: ti: Generalize cmd_ddr3 command 2018-01-19 15:49:26 -05:00
fsl_secure_boot.h ls1088ardb: Add SD Secure boot target support 2018-01-10 12:32:45 -08:00
gic.h
global_data.h arm: change tbu/l type to unsigned int 2017-05-12 08:37:34 -04:00
gpio.h gpio: do not include <asm/arch/gpio.h> for ARCH_STI 2017-03-14 20:40:19 -04:00
hardware.h
io.h arm: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
linkage.h
mach-types.h arm: Re-sync with full list of MACH_TYPE_xxx values 2017-01-28 14:04:20 -05:00
macro.h ARMv8: make master CPU checking logic more clear 2017-10-08 16:19:56 -04:00
memory.h Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
omap_common.h board: ti: am574x-idk: Add hw data support 2018-01-19 15:49:26 -05:00
omap_gpio.h
omap_mmc.h mmc: omap_hsmmc: do not embed struct mmc in struct omap_hsmmc_plat 2018-02-26 10:52:15 +09:00
omap_musb.h drivers: usb: musb: adopt musb backend driver to driver model 2016-12-02 21:04:48 -07:00
omap_sec_common.h arm: mach-omap2: Factor out common FDT fixup suport 2017-07-22 22:22:43 -04:00
opcodes-sec.h ARM: adjust arm-smccc code for use in U-Boot 2017-04-18 10:29:17 -04:00
opcodes-virt.h ARM: adjust arm-smccc code for use in U-Boot 2017-04-18 10:29:17 -04:00
opcodes.h ARM: adjust arm-smccc code for use in U-Boot 2017-04-18 10:29:17 -04:00
pl310.h arm: socfpga: enable data/inst prefetch and shared override in the L2 2015-10-17 01:47:31 +02:00
posix_types.h
processor.h
psci.h ARMv8: Add basic PSCI framework 2016-12-15 11:57:44 -08:00
ptrace.h
sections.h
secure.h ARMv8: Setup PSCI memory and device tree 2016-12-15 11:57:51 -08:00
setjmp.h arm: provide a PCS-compliant setjmp implementation 2017-11-21 23:57:22 +01:00
setup.h Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
spin_table.h arm64: add better and more generic spin-table support 2016-07-14 18:22:16 -04:00
spl.h spl: add a 'return to bootrom' boot method 2017-08-13 17:12:19 +02:00
string.h ARM: revive CONFIG_USE_ARCH_MEMCPY/MEMSET for UniPhier and Tegra 2016-12-27 11:24:15 -05:00
system.h arm: make save_boot_params_ret prototype visible for AArch64 2017-11-21 23:57:22 +01:00
types.h types.h: move and redefine resource_size_t 2016-07-14 18:22:24 -04:00
u-boot-arm.h arm: Add declarations to avoid needing to include headers 2017-06-05 11:02:37 -04:00
u-boot.h arm: Make u-boot-arm.h a private header 2017-06-05 11:02:33 -04:00
unaligned.h
unified.h arm: include: Import unified.h from Linux kernel 2016-06-02 21:21:43 -04:00
utils.h