Skip to content
Commit 35746c01 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent f11c308a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment