]> git.baikalelectronics.ru Git - uboot.git/commit
cbfs: Use void * for the position pointers
authorSimon Glass <sjg@chromium.org>
Sun, 24 May 2020 23:38:19 +0000 (17:38 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
commit582afe653e4fcd79cea81c36c21278512c700756
tree88acdbe3e28706c5f5ae93f0759bfefa1201b0ce
parentfd3912051a6d2646f6860e8a06d32512a4ad97bd
cbfs: Use void * for the position pointers

It doesn't make sense to use u8 * as the pointer type for accessing the
CBFS since we do not access it as bytes, but via structures. Change it to
void *, which allows us to avoid a cast.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
fs/cbfs/cbfs.c