• Paul Walmsley's avatar
    ARM: OMAP2+: PRCM: create SoC-specific chip restart functions · 2f334a38
    Paul Walmsley authored
    Split omap_prcm_restart() from mach-omap2/prcm.c into SoC-specific
    variants.  These functions need to be able to save the reboot reason
    into the scratchpad RAM.  This implies a dependency on both the PRM
    and SCM IP blocks, so they've been moved into their own file.  This
    will eventually call functions in the PRM and SCM drivers, once those
    are created.
    
    Vaibhav Hiremath <hvaibhav@ti.com> identified an unused prototype in
    the first version of this patch - now removed.  Tony Lindgren
    <tony@atomide.com> noted a compile problem with some RMK Kconfigs;
    resolved in this patch.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Vaibhav Hiremath <hvaibhav@ti.com>
    Tested-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    2f334a38
omap2-restart.c 1.65 KB