-
- Downloads
stm32mp1: add DDR Self Refresh adaptive management
Define DDR Self Refresh (SR) mode read/set/save/restore API functions.
At the end of DDR initialization in BL2, switch SR mode to the one
indicated by DDR updated registers. Save mode at BL32 init.
When entering in cstop/cstandby, switch to SSR (Software).
When exiting, go back to the saved mode.
Change-Id: Iadd795d20fdea2d7be30c1ba6f02eb172e33f4b1
Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com>
Showing
- drivers/st/ddr/stm32mp1_ddr_helpers.c 58 additions, 3 deletionsdrivers/st/ddr/stm32mp1_ddr_helpers.c
- drivers/st/ddr/stm32mp1_ram.c 6 additions, 2 deletionsdrivers/st/ddr/stm32mp1_ram.c
- include/drivers/st/stm32mp1_ddr_helpers.h 11 additions, 3 deletionsinclude/drivers/st/stm32mp1_ddr_helpers.h
- plat/st/stm32mp1/sp_min/sp_min_setup.c 3 additions, 0 deletionsplat/st/stm32mp1/sp_min/sp_min_setup.c
- plat/st/stm32mp1/stm32mp1_low_power.c 4 additions, 4 deletionsplat/st/stm32mp1/stm32mp1_low_power.c
Please register or sign in to comment