Simon Glass ca2abb75a0 spi: Avoid using malloc() in a critical function
In general we should avoid calling malloc() and free() repeatedly in
U-Boot lest we turn it into tianocore. In SPL this can make SPI flash
unusable since free() is often a nop and allocation space is limited.

In any case, these seems no need for malloc() since the number of bytes
is very small, perhaps less than 8.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: d13f5b254a (spi: Extend the core to ease integration of SPI
	memory controllers)
2019-07-10 16:52:58 -06:00
..
2018-11-27 21:06:53 +05:30
2019-07-09 09:26:43 +03:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-07-10 16:52:58 -06:00
2018-11-27 21:06:53 +05:30
2019-07-09 09:26:43 +03:00
2018-12-03 10:44:10 -05:00
2019-06-10 17:59:49 +05:30
2019-06-11 10:42:48 +02:00
2018-11-27 21:06:53 +05:30
2018-10-09 04:40:27 -06:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-04-12 16:09:13 +02:00
2019-04-17 17:43:54 +05:30