mtd: trx: use separated buffer for TRX header
author rmilecki
()
committer rmilecki
()
commit b93838898ed6218264f103a68d5a9a8e43b3055d
tree 10c6b086e42988abd3382658f9e205a0ff91d9e5
parent f9e1b8cb01ff39f3fa4a144a02c3835b20c2eafb
mtd: trx: use separated buffer for TRX header

We plan to adjust usage of the main buffer to allow reading custom
amount of data for CRC32. This means we need another buffer that will be
always block aligned.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49316 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/mtd/src/trx.c
comments