commit | 28b10a73a86abaaadc9e52e4c1538548d64245c0 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Mon Mar 12 10:46:09 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Mar 19 16:14:21 2018 -0400 |
tree | 12bead072fe275ace1e824e89f8d244e4fb1bf12 | |
parent | e26db2706670bde1673566c2b541f181aaec29ba [diff] |
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>