mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 22:05:40 +00:00
![]() Disabling AXI port, enabling host interface and both enabling/disabling software self-refresh services are already present inside the driver source code. Factorize by gathering them as services inside the generic part, and adapt driver to call these new functions. Add services to manage quasi-dynamic registers. DDRCTRL contains quasi-dynamic registers, which are dynamic only under some conditions defined by the user guide (with 4 groups). In our driver, out of reset state, only groups 3 and 4 are updated. Group 4 needs only sw_done/sw_done_ack sequence, already available. Group 3 sequence include more conditions, that are gathered in specific services. stm32mp_ddr_disable_host_interface() has been added to do this. Add dedicated generic service to toggle rfshctl3.refresh_update_level and wait for completion. Manage AXI ports and HIF when updating QD3 registers. Quasi-dynamic group 3 (QD3) registers are updated when DDR is not completely initialized, i.e. when AXI ports are not enabled and possibly when host interface (HIF) is not enabled too. In that case, a specific mechanism is necessary to restore the same conditions as before accessing QD3 registers. Static functions have been added to get AXI ports and HIF states and are used to determine the needed conditions to set/unset. Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com> Change-Id: I880f88b1cb6fc76199ad9ea33e9d63a5c469aed4 |
||
---|---|---|
.. | ||
allwinner | ||
amlogic | ||
arm | ||
auth | ||
brcm | ||
cadence | ||
cfi | ||
coreboot | ||
fwu | ||
io | ||
marvell | ||
measured_boot | ||
mentor | ||
nuvoton/npcm845x | ||
nxp | ||
partition | ||
rambus | ||
renesas/rcar/console | ||
rpi3 | ||
st | ||
synopsys | ||
ti/uart | ||
clk.h | ||
console.h | ||
console_assertions.h | ||
delay_timer.h | ||
dw_ufs.h | ||
generic_delay_timer.h | ||
gpio.h | ||
mmc.h | ||
nand.h | ||
raw_nand.h | ||
scmi-msg.h | ||
scmi.h | ||
spi_mem.h | ||
spi_nand.h | ||
spi_nor.h | ||
ufs.h | ||
usb_device.h |