> Avoid a buffer overflow if assigned-clock-rates has less than two elements.
> Fixes: 98bcdf16356c ("imx8mn: Add low drive mode support for DDR4/LPDDR4 EVK")
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> Reviewed-by: Peng Fan <[email protected]>
> Reviewed-by: Peng Fan <[email protected]>
Applied to u-boot-imx, master, thanks !Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================

