• Nicolas Ferre's avatar
    ARM: 6185/1: AT91: PM: dual ram controller support · 7dca3343
    Nicolas Ferre authored
    This rework allows to address tow memory controllers. AT91SAM9263 and
    AT91SAM9G45 family have tow SDRAM or DDR/SDRAM controllers. Power management
    should take care of this.
    This patch modify the way RAM IP header files are implemented to allow
    access to registers of both controllers ; it also adds some macros.
    
    We also modify the power management files to use those modified header files.
    Slow clock (assembly) and regular power management functions are synchronized
    for setting of RAM self-refresh procedure:
    (lpr & ~AT91_DDRSDRC_LPCB) | AT91_DDRSDRC_LPCB_SELF_REFRESH
    
    Note that AT91RM9200 is not impacted by this modification.
    Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
    Acked-by: default avatarAndrew Victor <linux@maxim.org.za>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    7dca3343
at91sam9261.h 4.05 KB