• Lin Huang's avatar
    rockchip/rk3399: Split M0 binary into two · ff4735cf
    Lin Huang authored
    
    
    All the m0 code run in SRAM before, but we need to watch PMU_POWER_ST
    when SOC enter into FSM, and SRAM will shutdown during this time, so
    this code need run in PMUSRAM. But PMUSRAM only 8K space, we can not
    put all the m0 binary into PMUSRAM, Split the M0 binary into two, dram
    part still run in SRAM, and suspend part run in PMUSRAM.
    
    Change-Id: Ie08bdf3e2b8838f12b9297fe60ab0aad219684b1
    Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
    ff4735cf
pmu.c 46.2 KB