commit | 6c8f523138cd94bc0608708e821a09b02c8c2f5a | [log] [tgz] |
---|---|---|
author | Marco Felsch <m.felsch@pengutronix.de> | Wed Sep 21 17:48:35 2022 +0200 |
committer | Marco Felsch <m.felsch@pengutronix.de> | Thu Oct 20 18:16:41 2022 +0200 |
tree | 97d6886513cfe2757790de046fc64b98a50ed6a3 | |
parent | 9287a3fa75373201eafbdc0295a462f8f745b9ed [diff] |
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