stm32mp1: move check_header() to common code
authorYann Gautier <yann.gautier@st.com>
Fri, 19 Apr 2019 08:48:36 +0000 (10:48 +0200)
committerYann Gautier <yann.gautier@st.com>
Mon, 2 Sep 2019 15:52:55 +0000 (17:52 +0200)
commit1e91952942f5063d57e21bd1e9a2e968003b935f
tree8cfb54dc52126f0c75686501087e5af6533ad1ab
parent083bca2210e62cb8a3083158a6c500a30ecefffe
stm32mp1: move check_header() to common code

This function can be used on several stm32mp devices, it is then moved in
plat/st/common/stm32mp_common.c.

Change-Id: I862debe39604410f71a9ddc28713026362e9ecda
Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/st/io/io_stm32image.c
plat/st/common/include/stm32mp_common.h
plat/st/common/stm32mp_common.c