[U-Boot] [U-Boot, v2, 06/15] stm32mp: stm32f7_i2c: use calloc instead of kmalloc
Tom Rini
trini at konsulko.com
Mon Mar 19 22:35:54 UTC 2018
On Mon, Mar 12, 2018 at 10:46:09AM +0100, Patrick Delaunay wrote:
> 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 at st.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180319/9c3d2aff/attachment.sig>
More information about the U-Boot
mailing list