diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-11-13 23:07:46 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-11-14 22:33:19 +0100 |
commit | 6d283b8029c87590bd056617340dbdb110239415 (patch) | |
tree | 7856a184eb4578fc5697ce4d2a8f0b5e94b8729e /tools/firmware-utils/src/trx2edips.c | |
parent | c6761e7c8e5d0d33e2f266c297b403f337f93c6b (diff) | |
download | mtk-20170518-6d283b8029c87590bd056617340dbdb110239415.zip mtk-20170518-6d283b8029c87590bd056617340dbdb110239415.tar.gz mtk-20170518-6d283b8029c87590bd056617340dbdb110239415.tar.bz2 |
otrx: optimize memory usage when creating TRX image
There is no need to allocate buffer as big as the whole image in order
to calculate CRC32. It's enough to use small buffer and just read file
content block by block.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools/firmware-utils/src/trx2edips.c')
0 files changed, 0 insertions, 0 deletions