Fix FIP offset address when file not found
If there is a request to open a file from FIP, and that file is not
found, the driver fails to reset the offset address. This causes
subsequent file loads to fail.

This patch resets the offset address to zero if a file is not found so
that subsequent file loads are unaffected.

Change-Id: I16418e35f92fb7c85fb12e2acc071990520cdef8
1 parent 7c88f3f commit dd3dc32f1d2a263a3cb587f9593ab3822645e1d7
@Jeenu Viswambharan Jeenu Viswambharan authored on 20 Feb 2014
Dan Handley committed on 20 Feb 2014
Showing 1 changed file
View
drivers/io/io_fip.c