18 Jan, 2017

1 commit

  • Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers
    for wakeup from RTC-only mode. Parse these registers during SPL boot and
    jump to the kernel resume vector if the device is waking up from RTC-only
    mode.

    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 patch 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 mode support is currently only enabled for
    am43xx_evm_rtconly_config.
    This is not to be used with epos evm builds.

    Tested-by: Dave Gerlach
    Signed-off-by: Tero Kristo
    [j-keerthy@ti.com Ported to 2017.01 branch]
    Signed-off-by: Keerthy

    Tero Kristo
     

22 Nov, 2016

1 commit

  • This moves what was in arch/arm/cpu/armv7/omap-common in to
    arch/arm/mach-omap2 and moves
    arch/arm/cpu/armv7/{am33xx,omap3,omap4,omap5} in to arch/arm/mach-omap2
    as subdirectories. All refernces to the former locations are updated to
    the current locations. For the logic to decide what our outputs are,
    consolidate the tests into a single config.mk rather than including 4.

    Signed-off-by: Tom Rini

    Tom Rini