]> git.dujemihanovic.xyz Git - u-boot.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)
commite82ab51bafecef063a081851d592fe82b680d50f
tree88acdbe3e28706c5f5ae93f0759bfefa1201b0ce
parent9dc2355e515d2026b40da3beab5b9ebaef854c4c
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