Home
last modified time | relevance | path

Searched hist:"6 c8f523138cd94bc0608708e821a09b02c8c2f5a" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/imx/imx8m/ddr/
H A Ddram.c6c8f523138cd94bc0608708e821a09b02c8c2f5a Wed Sep 21 15:48:35 UTC 2022 Marco Felsch <m.felsch@pengutronix.de> fix(imx8m): fix dram retention fsp_table access

The fsp_table access by [i-1] can cause invalid memory access in case of
i=0. This can be the case if no fsp_table is available. Fix this by
adding the idx variable which tracks the correct index.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Change-Id: If2285517eb9fe837f3ad54360307a77a658bf62c