Home
last modified time | relevance | path

Searched hist:"35746 c0138c7a9900fb2678358904c10797a563a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dstm32f7_i2c.cdiff 35746c0138c7a9900fb2678358904c10797a563a Mon Mar 12 04:46:09 CDT 2018 Patrick Delaunay <patrick.delaunay@st.com> stm32mp: stm32f7_i2c: use calloc instead of kmalloc

Kmalloc is using memalign allocation function. It is not necessary to
align this structure so to save bytes, we move to calloc.

And kmalloc function can't be used in SPL early stage (in board_init_f())

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>