]> git.dujemihanovic.xyz Git - u-boot.git/commit
cm5200: fix FAT function prototypes
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 9 Aug 2015 17:25:00 +0000 (11:25 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2015 15:05:28 +0000 (11:05 -0400)
commit26f8a4ac8fc14f577a5290a0231e5e74a5046a6a
tree2b601800df97491ef5aef190584b93145027e1cc
parentc1cfd51907299a2fccb932ad26dc2c139f1970d2
cm5200: fix FAT function prototypes

Remove FAT function prototypes from the cm5200 firmware update code, and
include the relevant headers instead.

This exposes the fact that the custom prototyoe for do_fat_read() in
this file was incorrect. Rather than simply fixing the call-site, replace
do_fat_read() with fat_exists(). This removes the only use of
do_fat_read() outside of the FAT code.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
board/cm5200/fwupdate.c