stm32mp1: zeromem device_info struct
authorYann Gautier <yann.gautier@st.com>
Thu, 7 Mar 2019 09:54:34 +0000 (10:54 +0100)
committerYann Gautier <yann.gautier@st.com>
Thu, 7 Mar 2019 09:56:17 +0000 (10:56 +0100)
commit42beea8d70804e9b9f7f87e7c7ef0b95d824ce09
treef9b03336d4169ddb1920d059494c604a4cd655ed
parentf009c5f312476cdfc0704a3c8a9c66b7fe5b6586
stm32mp1: zeromem device_info struct

The change of the structure highlighted the fact that all fields are not
correctly initialized with zeroes.

Replace the other memset in the function with zeromem, as it is faster.

Change-Id: I27f45a64e34637f79fa519f486bf5936721ef396
Signed-off-by: Yann Gautier <yann.gautier@st.com>
plat/st/common/bl2_io_storage.c